Update Rithum DSCO Integration
PUT/api/dsco/:integrationInstance
Partially updates an integration: only the keys sent change. Sending client_id and/or client_secret replaces the credentials after they pass the same test as on create (422 if DSCO rejects them). environment cannot change after connecting.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Settings bodies (all optional on update): name, store_id, start_date (Y-m-d, orders created before it are stored but never become sales orders), is_automatic_sync_enabled, orders.auto_acknowledge (bool, default true), orders.include_test_orders (bool, default false), orders.default_cancel_code (one of your DSCO account's cancel codes, from DSCO → Settings → Mapping → Cancel Code Mapping; required before any cancellation is sent), orders.default_cancel_reason, orders.ack_resend_minutes (5–1440, default 30), inventory.frequency_minutes (15, 30, 60, 240 or 1440; default 60), inventory.full_push_hour (0–23, default 2), inventory.send_discontinued (bool, default true), inventory.default_warehouse_code, inventory.locations[] (dsco_warehouse_code required and distinct, warehouse_ids[] SKU.io warehouse ids, safety_stock ≥ 0).
PATCH on the same path behaves identically.
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 — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
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.