Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /MoveToLocation

Allows 150 calls per minute

Response: MoveToLocationResult



Move a list of orders to a specific location

Parameters

NameTypeDescription
orderIdsList<Guid>Orders to be moved
pkStockLocationIdGuidLocation where to move orders

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/MoveToLocation

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.

orderIds=[
  "7c94baad-c1ad-4187-a4dd-c13cb110075a"
]&pkStockLocationId=65ecab4d-b283-41cb-a27a-e75470bcf113

Response

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

{
  "Errors": [
    "sample string 1"
  ],
  "OrdersMoved": [
    "0b2f7cf4-1c2d-471d-98ea-94d76ec7ac3f"
  ],
  "KeyedErrors": {
    "6d29c3a5-5db8-42cb-ad9d-e92544c79350": "sample string 2"
  }
}