Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • order_idsarray of stringsrequired

    Up to 250.

  • location_idstring · or null

    The branch they leave from. Defaults to the one most of them ship from.

  • notify_customerboolean

    Tell each customer their order is on its way.

Returns

200 What was packed and what wasn't.

Errors

  • 403forbiddenMissing permission, or a branch the caller doesn't work at.
  • 404not_foundNone of the orders exists.
  • 422validation_failedNo orders, or more than 250.