Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Locations /GetLocation

Allows 150 calls per minute

Response: StockLocation



Use this call to retrieve a location and basic information about it from your Linnworks account.

Parameters

NameTypeDescription
pkStockLocationIdGuidThe pkStockLocationId which identifies the location

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Locations/GetLocation

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.

pkStockLocationId=3839ec5f-f20f-4ae4-aa08-266057557177

Response

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

{
  "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": "ea660cb8-0d8d-404c-8139-7f0be302ff0c",
  "LocationName": "sample string 13",
  "IsFulfillmentCenter": true,
  "StockLocationIntId": 1
}