/
Get order statuses
Get order statuses
Function orders/get_available_statuses (<http://<DOMAIN>>/api/orders/get_available_statuses)
Parameters:
token - authorization key obtained through the auth function
Response:
status
OK - statuses are unloaded successfully
ERROR - error
response.statuses - object containing statuses
response.statuses{i}
id - status id
title - object of status names in different languages
title.en - status title in English
title.ro - status title in Romanian
...
is_successful - whether the order has been delivered
Example of POST query body
{
"token": "c5bc0cd25647e701bc6427f3629b27b4"
} |
Response example
{
"status": "OK",
"response": {
"statuses": {
"1": {
"id": 1,
"title": {
"en": "New",
"ro": "Nou"
},
"is_successful": 0
},
"2": {
"id": 2,
"title": {
"en": "Processing",
"ro": "Procesare"
},
"is_successful": 0
},
"3": {
"id": 3,
"title": {
"en": "Delivered",
"ro": "Livrat"
},
"is_successful": 1
},
"4": {
"id": 4,
"title": {
"en": "Canceled",
"ro": "Anulat"
},
"is_successful": 0
},
"6": {
"id": 6,
"title": {
"en": "Shipping",
"ro": "În procesul de livrare"
},
"is_successful": 0
}
}
}
} |
Related content
Get orders list
Get orders list
More like this
Import of product stock
Import of product stock
Read with this
Updating Orders
Updating Orders
More like this
Users
Users
Read with this
Выгрузка статусов заказа
Выгрузка статусов заказа
More like this
Processing images uploaded via ftp
Processing images uploaded via ftp
Read with this