PUT v1/Warehouses
Update an existing Warehouse.
Request Information
Requires Authorization!
URI Parameters
None.
Body Parameters
The Warehouse changes object
WarehouseChangesName | Description | Type | Additional information |
---|---|---|---|
Priority |
Gets or sets the priority. |
integer |
Required |
CanPick |
Gets or sets a value indicating whether this instance can pick. |
boolean |
Required |
ShopOwnerId |
Gets or sets the shop owner identifier. |
integer |
Required |
Address |
Physical address of warehouse |
ContactInfoAddress |
None. |
Enabled | boolean |
Required |
|
WarehouseType | WarehouseTypeEnum |
None. |
|
GenerateShippingLabel | boolean |
Required |
|
GeneratePicklist | boolean |
Required |
|
GenerateReturnShippingLabel | boolean |
Required |
|
Parameters | Collection of WarehouseParameter |
None. |
|
Id |
Gets or sets the identifier. |
integer |
Required |
Name |
Gets or sets the name. |
string |
Required Max length: 50 |
Request Formats
application/json, text/json
Sample:
{ "Priority": 1, "CanPick": true, "ShopOwnerId": 3, "Address": { "Id": 1, "CompanyName": "sample string 2", "Address": "sample string 3", "Address2": "sample string 4", "StreetAddress": "sample string 5", "StreetAddressNumber": "sample string 6", "StreetAddressExtension": "sample string 7", "PostalCode": "sample string 8", "City": "sample string 9", "CountryId": 1, "CountryCode": "sample string 10", "CountryName": null, "EMail": "sample string 11", "Phone": "sample string 12", "Phone2": "sample string 13", "StateProvince": "sample string 14", "StateProvinceCode": "sample string 15" }, "Enabled": true, "WarehouseType": 1, "GenerateShippingLabel": true, "GeneratePicklist": true, "GenerateReturnShippingLabel": true, "Parameters": [ { "Id": 1, "WarehouseId": 2, "Key": "sample string 3", "Value": "sample string 4", "DataType": "sample string 5" }, { "Id": 1, "WarehouseId": 2, "Key": "sample string 3", "Value": "sample string 4", "DataType": "sample string 5" } ], "Id": 8, "Name": "sample string 9" }
Response Information
Response Codes
- OK (200)
Resource Description
The HttpResponseMessage object.
HttpResponseMessage
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |