Skip to main content
View as Markdown

Start a bulk fulfill from an integration file

POST 

/orders/bulk-fulfill/integration/:type/jobs

Starts a background bulk fulfill of the uploaded rows, read with the parser for the given integration (a ShipBob "Order Details" export, a NextSmartShip shipment export), and returns its record straight away, with status pending and the jobId to poll on GET /async-jobs/{id} until state is completed or failed — both are final. A completed job reports, under result, what it fulfilled, skipped and could not fulfill, row by row; a failed job reports why under error and fulfilled nothing beyond what it had already recorded. The work survives a restart and is never cut short by a request timeout, and the record is listed by GET /order-jobs. The request is limited both by row count and by size (4 MB), and a request over the size limit is refused with 413 before it reaches this operation. One bulk fulfill runs at a time per merchant account; starting another while one is running is refused, and the refusal names the job already running.

Request​

Responses​