API documentation
Method list
Test your request
Changelog


setOrderReturnStatuses
The method allows you to batch set order return statuses.


Input parameters
return_idsarrayArray of Order return ID numbers
status_idintOrder return status ID number. The status list can be retrieved using getOrderReturnStatusList.



Output data
The method returns the data in JSON format.
statusvarchar(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: