Skip to main content

Accept Rithum DSCO Retailer Cancel Request

POST 

/api/dsco/:integrationInstance/orders/:order/accept-cancel

Accepts the retailer's request to cancel an order: every open unit is cancelled in DSCO with the retailer's own cancel code (or the connection's default cancel code), and once DSCO accepts it the SKU.io sales order lines are cancelled too.

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

No request body. The response returns the cancellation id, whether the SKU.io order was already updated (applied_to_sku_order; when false it follows on the next refresh) and the refreshed order (same shape as Get Rithum DSCO Order). When no cancel code is available the cancellation is stored as blocked and the message says how to set one.

422 when the retailer has not asked to cancel or nothing is still open; 404 when the order is not on this connection.

Request​

Responses​

OK

Response Headers
    Content-Type