Refresh Rithum DSCO Orders
POST/api/dsco/:integrationInstance/orders/refresh
Re-imports orders from DSCO in the background. Choose what to pull with any of:
from/to(dates, optional): orders updated in DSCO in this window (fromstart of day,toend of day;tomust be on or afterfrom; atoof today or later means "until now").po_numbers[](up to 200 strings, max 128 chars each): specific retailer PO numbers.ids[](up to 1000 integers): specific orders already imported (ids from List Rithum DSCO Orders; ids from another connection are ignored).
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
With none of these, the last 7 days are refreshed. Each stored order also picks up acknowledgements, retailer cancel requests and DSCO-side cancels.
tracked_job_log_id identifies the background job; poll it with the tracked jobs endpoints to follow progress and read the result.
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.