PUT Logistics/ModifyWarehouse
Modifies an existing Warehouse.
Request Information
URI Parameters
None.
Body Parameters
WarehouseBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Disabled | date |
None. |
|
| ExternalID |
ID of Warehouse in the external database (Use only for data sync) |
string |
None. |
| Code |
Used by some merchants to identify warehouse by a friendly or nick name |
string |
None. |
| Name | string |
Required |
|
| IsShop |
This warehouse is a physical shop |
boolean |
None. |
| ShippingsEnabled |
This warehouse can be used to issue store shippings |
boolean |
None. |
| IsPublic |
The information and stocks related to this warehouse can be shown at the store front |
boolean |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Disabled": "2025-12-06T05:40:26.558856+01:00",
"ExternalID": "sample string 2",
"Code": "sample string 3",
"Name": "sample string 4",
"IsShop": true,
"ShippingsEnabled": true,
"IsPublic": true,
"Lang": "sample string 8",
"StoreID": 9
}
application/xml, text/xml
Sample:
<WarehouseBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Logistics"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 8</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">9</StoreID> <Code>sample string 3</Code> <Disabled>2025-12-06T05:40:26.558856+01:00</Disabled> <ExternalID>sample string 2</ExternalID> <ID>1</ID> <IsPublic>true</IsPublic> <IsShop>true</IsShop> <Name>sample string 4</Name> <ShippingsEnabled>true</ShippingsEnabled> </WarehouseBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>