Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /ChangeStatus

Allows 150 calls per minute

Response: List<Guid>



Change the status to a list of orders
0 = 'UNPAID'
1 = 'PAID'
2 = 'RETURN'
3 = 'PENDING'
4 = 'RESEND'

Parameters

NameTypeDescription
orderIdsList<Guid>Order id's
statusInt32New status

Example Request

The following request format is required for this method.

Endpoint URL

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

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=[
  "2beb3fa1-e1e5-4334-b940-5fae907aa1ac"
]&status=1

Response

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

[
  "a222d33c-3a76-4a75-8346-90caff0362cc"
]