Skip to content
OrdersOrders

Export orders

Queues an order export. Returns a job; the file becomes downloadable once it completes.

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.ecomiq.pe/api/v1/orders/exports" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "template": false,    "format": "csv",    "archived": false,    "search": "polo",    "statuses": [      "new"    ],    "states": [      "open"    ],    "fulfillmentStatuses": [      "unfulfilled"    ],    "returnStatuses": [      "none"    ]  }'
{  "id": "7204558912004321909",  "status": "pending",  "resource": "orders",  "format": "csv",  "createdOn": "2026-09-28T15:30:00Z"}