POST v1/Warehouses
Add a new Warehouse.
Request Information
Requires Authorization!
URI Parameters
None.
Body Parameters
The Warehouse changes object
WarehouseChanges| Name | 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 |
| Id |
Gets or sets the identifier. |
integer |
Must be 0 |
| Name |
Gets or sets the name. |
string |
Required Max length: 50 |
Request Formats
application/json, text/json
Sample:
{
"Priority": 1,
"CanPick": true,
"ShopOwnerId": 3,
"Id": 4,
"Name": "sample string 5"
}
application/xml, text/xml
Sample:
<WarehouseChanges xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>4</Id> <Name>sample string 5</Name> <Priority>1</Priority> <CanPick>true</CanPick> <ShopOwnerId>3</ShopOwnerId> </WarehouseChanges>
Response Information
Resource Description
The Warehouse object.
Warehouse
| Name | 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 |
| Id |
Gets or sets the identifier. |
integer |
Must be 0 |
| Name |
Gets or sets the name. |
string |
Required Max length: 50 |
Response Formats
application/json, text/json
Sample:
{
"Priority": 1,
"CanPick": true,
"ShopOwnerId": 3,
"Id": 4,
"Name": "sample string 5"
}
application/xml, text/xml
Sample:
<Warehouse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>4</Id> <Name>sample string 5</Name> <Priority>1</Priority> <CanPick>true</CanPick> <ShopOwnerId>3</ShopOwnerId> </Warehouse>