Back

Search

Search

Methods

Inventory

Orders

OpenOrders /AssignOrderIdentifier

Rate Limit: 250/min

Response: AssignResult



Add an identifier to an order

Parameters

NameTypeDescription
requestChangeOrderIdentifierRequest

HTTP Endpoint

Server /OpenOrders / AssignOrderIdentifier

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/OpenOrders/AssignOrderIdentifier HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

request={
  "OrderIds": [
    "4c1d02b4-48e9-4e33-8a16-64dad79d79b5",
    "2a07b7f9-5f4c-4c2c-a29c-8cb6d11ae794"
  ],
  "Tag": "sample string 1"
}

Response

This is an example response. Results may vary depending on your data.

{
  "Changed": [
    "23eb978b-b810-4710-9d5a-8bb484dfeb2a",
    "0db6873e-3c6e-4e49-86f5-eb411100828a"
  ],
  "NotChanged": [
    "075461af-9b9e-4110-b07a-7efb697c6538",
    "25e3b104-b5d6-4334-afa9-ed2034e3a210"
  ]
}