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=f8f06fd2-a7b3-4628-afb0-58630bfbdb71

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": "8b044978-692a-4e1f-a75b-6871a920c10e",
  "LocationName": "sample string 13",
  "IsFulfillmentCenter": true,
  "StockLocationIntId": 1
}