Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /ChangeOrderTag

Allows 250 calls per minute

Response: List<Guid>



Change the tag for the specific order list. Tags can be 1-6 for custom tags, or 7 to initialize a 'parked' status on the order.

Parameters

NameTypeDescription
orderIdsList<Guid>Orders to change the tag
tagNullable<Int32>new tag. null to remove the tag
ctxCancellationToken

Example Request

The following request format is required for this method.

Endpoint URL

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

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=[
  "78c6931d-669d-4ae4-af0f-e227e125b76c"
]&tag=1&ctx={
  "IsCancellationRequested": false,
  "CanBeCanceled": false,
  "WaitHandle": {
    "Handle": {
      "value": 1292
    },
    "SafeWaitHandle": {
      "IsInvalid": false,
      "IsClosed": false
    }
  }
}

Response

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

[
  "7035dd8e-7382-48ed-98b3-7e5c8031a0be"
]