Use this call to add a new location.
Name | Type | Description |
---|---|---|
location | StockLocation | The StockLocation object describing the StockLocation to be added. |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Locations/AddLocation
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
location={
"Address1": "sample string 1",
"Address2": "sample string 2",
"City": "sample string 3",
"County": "sample string 4",
"Country": "sample string 5",
"ZipCode": "sample string 6",
"IsNotTrackable": true,
"LocationTag": "sample string 8",
"CountInOrderUntilAcknowledgement": true,
"FulfilmentCenterDeductStockWhenProcessed": true,
"IsWarehouseManaged": true,
"StockLocationId": "d9d412da-fbfa-4694-9c48-c80b839915f0",
"LocationName": "sample string 13",
"IsFulfillmentCenter": true,
"StockLocationIntId": 1
}
This is an example of the response JSON. Results will vary depending on your data.