getOrderReturnProductStatuses
The method returns a list of order return item statuses. Values of those fields can be set with method setOrderReturnFields.
Input parameters
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 |
| order_return_product_statuses | array | A list containing order return item statuses. |
| | - status_id | int | ID of the order return item status |
| | - name | text | Order return item status name |
Sample
Input data:Output data:
A sample request in PHP: