Create Rithum DSCO Integration
POST/api/dsco
Connects a DSCO supplier account. The credentials are tested first; on success the integration, its sales channel and its sync controls are created and setup starts in the background (retailers, warehouses, then the first order import). tracked_job_log_id identifies that background job.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
The client secret is never returned; only has_client_secret and client_secret_last4. Several integrations may be connected (one per DSCO supplier account).
Body: name (required, unique), client_id (required), client_secret (required), environment (production default or staging; fixed once connected), store_id, start_date (Y-m-d, default today), is_automatic_sync_enabled (default true).
422 when validation fails or DSCO rejects the credentials (retryable tells whether trying again may help).
Request
Responses
- 201
- 401
- 403
- 422
- 429
Created
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.
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.