API documentation
Method list
Test your request
Changelog


getOrderReturnStatusGroups
Returns the list of order return status groups. Status groups are used to visually organize return statuses in the panel sidebar.


Input parameters



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
status_groupsarrayAn array of status groups containing the fields listed below.
| - group_idintStatus group ID.
| - nametextStatus group name.
| - is_main_groupintWhether this is the main (default) group (0 or 1).



Sample
Input data:
Output data:
A sample request in PHP: