POST Logistics/Warehouses
Get all the Warehouses
Request Information
URI Parameters
None.
Body Parameters
BaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Lang": "sample string 1",
"StoreID": 2
}
application/xml, text/xml
Sample:
<BaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base"> <Lang>sample string 1</Lang> <StoreID>2</StoreID> </BaseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Warehouse| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Disabled |
This warehouse cannot be used anymore |
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 |
None. |
|
| IsShop |
This warehouse is a physical shop |
boolean |
None. |
| ShippingsEnabled |
This warehouse can be used to issue store shippings |
boolean |
None. |
| Images | Collection of ItemImage |
None. |
|
| IsPublic |
The information and stocks related to this warehouse can be shown at the store front |
boolean |
None. |
| Contact | WarehouseContact |
None. |
|
| Location | LocationView |
None. |
|
| DisabledWarehousePeriods |
Periods this Warehouse is not serving stock. The store may sell though. Another warehouse should be used during this period preferably. |
Collection of PeriodViewModel |
None. |
| Slug | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.