GET and POST are supported.GET, PUT, and DELETE are supported.To get a specific number of statuses or list of statuses from a concrete page in a response, use pagination parameters:
| Pagination param | Description |
|---|---|
| page | Shows statuses on a page with the defined number |
| items_per_page | Shows N statuses, where N - is a number defined in the parameter |
Examples:
Response is an array with 10 statuses from the 5th page (10 is the default value of the items_per_page parameter).
Response is an array with 20 statuses from the first page.
Response is an array with 20 statuses from the 5th page.
A status has a number of properties, represented by fields.
The full list of supported fields is given below (mandatory fields are marked with *).
Note
Any field not listed in the table below will be ignored if occurs in an API request JSON data.
| Field name | Description | Default value | Supported values |
|---|---|---|---|
| description* | Status title | — | string |
| email_header | Header of an e-mail sent when the status is set | ‘’ | HTML |
| email_subj | Subject of an e-mail sent when the status is set | ‘’ | string |
| is_default | Flag, defines if the status is default (cannot be deleted). It is not recommended to make default status not default. | N |
YN |
| lang_code | Language code | en |
enruetc.
|
| params | Status parameters | {} | JSON object |
| status | Letter identifying the status | Set automatically | char |
| status_id | Status ID | Set automatically | integer |
| type | Status type | O |
Valid status type (only O by default) |
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.