Skip to main content
View as Markdown

Start an order export

POST 

/order-exports

Starts a background export of the orders matching the given parameters and returns its record straight away, with status pending and the jobId to poll on GET /async-jobs/{id}. When the job completes, the record gains rowCount and artifact, and the file can be downloaded from GET /async-jobs/artifacts/{type}/{name} for 90 days. The record is listed by GET /order-jobs alongside the account's bulk fulfills. One export runs at a time per merchant account; starting another while one is running is refused. To run a past export again, post its parameters back here or call POST /order-jobs/{id}/rerun.

Request​

Responses​