Confirm Label Batch Item Boxes
POST/api/shipping-label-batches/:shippingLabelBatch/items/confirm-packages
Confirms the assumed boxes of a batch's items so they can be bought. A box is assumed when it was worked out from the products by the multi-unit rule rather than known: exactly one full case in the product's case size, identical units stacked along the product's shortest side, or the fallback box from the shipping label settings (see package on the item). A confirmation is for that exact size: if the item's box changes later (a product's size edited, the rule changed), it must be confirmed again.
orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body (optional):
item_ids(array of item IDs, 1-500): the items to confirm. Omit to confirm every item in the batch whose box is assumed.boxes(array, optional, at least 1 when sent): the box each item was shown with —[{item_id, length, width, height, dimension_unit (in|cm)}]. When sent, only the items it names are confirmed, and only while each item's box still has exactly that size; an item whose box changed since is skipped ("The box changed since it was shown …"). Withoutboxes, the box of the item's last rate is what gets confirmed.
Items whose box isn't assumed, that are bought or being bought, or whose box can't be worked out are listed in skipped with the reason (only when item_ids is sent). Returns the batch with its counters (counts.assumed_unconfirmed).
409 while a rate or buy job holds the batch.
Requires the orders write scope and the fulfillment_orders.index and fulfillment_orders.ship permissions.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.