Skip to main content

List Label Batch Items

GET 

/api/shipping-label-batches/:shippingLabelBatch/items

Paginated items (one per fulfillment order) of a batch, in the order they were added. Removed items are left out unless filter[status] names removed.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Marketplace labels: quoted and purchased carry is_marketplace (bought through Ship with Walmart or Amazon Buy Shipping) and benefits (e.g. claims_protected = Amazon A-to-z claim protection); quoted also has excluded_benefits (each {benefit, reasons}) and, for a marketplace rate, settings_route (the SKU.io app page of the store's label setting). marketplace_label (null for orders not on Walmart or Amazon) names the order's marketplace label program: provider, provider_label, available (whether the last rating offered it; null before rating or when the batch excludes marketplace labels), note (why it was not offered or not used), integration_instance_id (the store) and settings_route. service_override_provider is the provider of the row's service override.

Each item: status (pending, rated, no_rate, purchasing, purchased, failed, void_pending, voided, removed), the fulfillment order and its sales order, ship_to, items_summary and lines[] (the order's remaining lines with each product's weight and weight_unit, null when the product has no weight), weight (always pounds, so weight_unit is always lb, whatever the account's weight unit) and weight_oz (the package weight used for rating), any package_override / service_override, quoted (the rate the item will be bought at, with its currency; null until rated), purchased (the bought label: carrier, service, tracking numbers, cost, label format; null until bought), sales_order_fulfillment_id (the shipment recorded for the label), scan_form_id, ship_date (the date the label was bought for; the batch's ship date until it is bought), and failure_code / failure_label / failure_reason when it failed.

Filters: filter[status] (comma-separated), filter[failure_code], filter[unrecorded] (true = live labels bought whose shipment was never recorded, the ones the next buy records), filter[service], filter[search]. Allowed sorts: id, status, quoted_amount, cost, purchased_at (prefix - for descending; default id). Pagination: page, per_page (default 50).

Requires the orders read scope and the fulfillment_orders.index permission.

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​

OK

Response Headers
    Content-Type