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.

Get

Endpoint URL

This is an example of the request structure. Results will vary depending on your data.

GET https://eu-ext.linnworks.net/api/Orders/ChangeStatus?orderIds=%5B%0D%0A%20%20%2224fcef6a-a5c5-4d72-b44e-09810cc1789a%22%0D%0A%5D&status=1

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

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=[
  "24fcef6a-a5c5-4d72-b44e-09810cc1789a"
]&status=1

Response

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

[
  "25240a41-203d-4704-a024-893ab96a9e21"
]