Import NuORDER Pre-Start-Date Orders
POST/api/nuorder/instances/:integrationInstance/orders/pre-start-date/import
Imports the chosen NuORDER orders that were created before the order import start date, in the background. Each order is fetched from NuORDER, saved and flagged pre_start_date_import (it keeps syncing afterwards); with create_sales_orders the SKU.io sales orders are created for those at the "create sales orders at" status or later. Returns the tracked job ID to follow progress.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body:
order_ids(string[], required, 1–10,000) — NuORDER order_idvalues (order_idin the query results), not SKU.io IDs.create_sales_orders(boolean, optional, default true) — also create the SKU.io sales orders.
Returns 422 when the instance has no order import start date.
Authentication: Bearer token (Personal Access Token).
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.