Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Locations /AddLocation

Allows 150 calls per minute

Response: Void



Use this call to add a new location.

Parameters

NameTypeDescription
locationStockLocationThe StockLocation object describing the StockLocation to be added.

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Locations/AddLocation

Headers

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

Request Body

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": "34f495ab-981f-466c-a7a6-6f9b3a00496a",
  "LocationName": "sample string 13",
  "IsFulfillmentCenter": true,
  "StockLocationIntId": 1
}

Response

This is an example of the response JSON. Results will vary depending on your data.