Create or update custom status mapping for an integration

POST {{baseUrl}}/shop-order-statuses/mapping/

Note that this section describes a beta version of the Integrations API. Upsert a map of available shop order statuses and Sendcloud's internal status category for an integration - Only Prestashop V2 integrations are supported.

Request Body

{"integration_id"=>"<integer>", "mapping"=>[{"status_category"=>"CANCEL", "external_id"=>"<string,null>"}, {"status_category"=>"READY_TO_SEND", "external_id"=>"<string,null>"}, {"status_category"=>"IN_TRANSIT", "external_id"=>"<string,null>"}, {"status_category"=>"DELIVERED", "external_id"=>"<string,null>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

&quot;\u003cnull\u003e&quot;