Skip to main content
This endpoint accepts batched order payloads and creates or updates dcmOrder and dcmOrderLine records for the authenticated organization.

Import Orders

POST /api/import/orders

Authentication

Pass an API key in the request header:
string
required
Import API key with import:write, import:read, or import:* scope.

Request Body

array
required
Array of order rows to import.
Each order row supports:
string
required
External order identifier used as the order ID.
array
required
Order lines for the order.
string
required
Product SKU identifier.
number
required
Requested quantity for the line.
string
required
Source location code (stored as {organizationId}-{locationId}).

Success Response

202 Accepted
string
Created import job ID.
string
Always ACCEPTED when the job is accepted for processing.
number
Number of received order rows.

Validation Error

400 Bad Request when orders[] is missing or empty.