Update Label Batch Item
PATCH/api/shipping-label-batches/:shippingLabelBatch/items/:item
Fixes one item: its own package and/or service. The item goes back to pending (its quote and failure are cleared), so rate the batch again to price it.
orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body (all optional):
package_override(object, or null to clear):length,width,height(> 0, max 1000),dimension_unit(in, cm),weight(> 0, max 5000) andweight_unit(lb, oz, kg, g; optional, lb when omitted). A weight here replaces the weight worked out from the products.service_override(service token, max 191, or null to clear): buy this item with this service instead of the batch's choice.service_override_integration_instance_id(label account ID, nullable): the label account forservice_override(from List Label Batch Item Rates). Cleared whenservice_overrideis cleared. For a marketplace label's rate this is the Walmart or Amazon store's integration instance.service_override_provider(nullable): the rate'sproviderfrom List Label Batch Item Rates — easypost, shippo, shipstation, starshipit, shiprush, shiptheory, shippit, walmart_sww or amazon_buy_shipping. Send it for a marketplace label's rate (walmart_sww, amazon_buy_shipping) so the item is bought through the marketplace. Cleared whenservice_overrideis cleared.
Returns the updated item. 422 when the item already has a bought label, the label account is not connected, or service_override_provider is not a known provider. 409 while a rate or buy job holds the batch. The item must belong to the batch (404 otherwise).
Requires the orders write scope and the fulfillment_orders.index and fulfillment_orders.ship permissions.
quoted.amount is null (and quoted.priced / quoted_priced false) for a service booked without an upfront price (Shiptheory). purchased.cost is null (and cost_reported false) when the provider reported no cost for the label.
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.