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.
integrations:writeGrant 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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.