POST Logistics/AddWarehouse
Adds a Warehouse.
Request Information
URI Parameters
None.
Body Parameters
AddWarehouseBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| Disabled | date |
None. |
|
| ExternalID |
ID of Warehouse in the external database (Use only for data sync) |
string |
None. |
| Code |
Used by some merchants to internally identify warehouse by a code 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:
{
"Disabled": "2025-12-06T05:40:30.2283044+01:00",
"ExternalID": "sample string 1",
"Code": "sample string 2",
"Name": "sample string 3",
"IsShop": true,
"ShippingsEnabled": true,
"IsPublic": true,
"Lang": "sample string 7",
"StoreID": 8
}
application/xml, text/xml
Sample:
<AddWarehouseBinding 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 7</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">8</StoreID> <Code>sample string 2</Code> <Disabled>2025-12-06T05:40:30.2283044+01:00</Disabled> <ExternalID>sample string 1</ExternalID> <IsPublic>true</IsPublic> <IsShop>true</IsShop> <Name>sample string 3</Name> <ShippingsEnabled>true</ShippingsEnabled> </AddWarehouseBinding>
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>