Retrieve available shop order statuses for a given integration.
GET {{baseUrl}}/shop-order-statuses?integration_id=<integer>&language=it-it&show_deleted=<boolean>
Note that this section describes a beta version of the Integrations API.
Get the list of statuses for the integration.
- Only Prestashop V2 integrations are supported.
- If the user hasn't picked a language, they will receive the status in the default language, en-gb
.
- If en-gb
is not present, the user receives the status in the first language of the alphabetically ordered list.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
integration_id | string | (Required) Filter response on integration_id . | |
language | string | Get a response for the specified language. | |
show_deleted | string | Get all currently available and historical statuses. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"external_id":"\u003cstring\u003e","status":"\u003cstring\u003e","deleted_at":"\u003cstring,null-date-time\u003e","translations":[{"status":"\u003cstring\u003e","language":"fr-fr"}]},{"external_id":"\u003cstring\u003e","status":"\u003cstring\u003e","deleted_at":"\u003cstring,null-date-time\u003e","translations":[{"status":"\u003cstring\u003e","language":"nl-nl"}]}]}