setOrderStatus
The method allows you to change order status.
Input parameters
Output data:
A sample request in PHP:
order_id | int | Order ID number |
status_id | int | Status ID number. The status list can be retrieved using getOrderStatusList. |
Output data
The method returns the data in JSON format.
status | varchar(30) | SUCCESS - request executed correctly ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code |
Sample
Input data:Output data:
A sample request in PHP: