Pack orders
POST
/ admin/ v1/ stores/ {store_id}/ orders/ fulfillments/ bulk- orders:write
- Idempotency-Key supported
Fulfil what each of up to 250 orders has left to ship from one branch, each order on its own; orders that can't be packed are listed with the reason.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
order_idsarray of stringsrequiredUp to 250.
location_idstring · or nullThe branch they leave from. Defaults to the one most of them ship from.
notify_customerbooleanTell each customer their order is on its way.
Returns
200 What was packed and what wasn't.
Errors
- 403
forbiddenMissing permission, or a branch the caller doesn't work at. - 404
not_foundNone of the orders exists. - 422
validation_failedNo orders, or more than 250.