Skip to main content

Get order status

Description

Get information of order status.

In the request, you need to use a token that is assigned a role with the appropriate access rules.

URL

Method: POST

https://example.com/api/v1.1/market/orders/get_status

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1Not if external_id is passedInternal order ID
external_idstring"A598t32D"Not if id is passedExternal order ID

Request example JSON

{           
"token": "abcdefghijklmnqrstuvwxyz",
"id": 1
}

{
"token": "abcdefghijklmnqrstuvwxyz",
"external_id": "A598t32D"
}

Response example

{
"error": 0,
"error_text": "",
"result": {
"endpoint": "marketplace",
"status": "delivered"
}
}

Response parameters

ParameterTypeDescription
resultarrayArray of received data on orders
errorintError code
error_textstringError text