Skip to main content

Get Label Batch Options

GET 

/api/shipping-label-batches/options

What a batch can be configured with: the connected label accounts (label_accounts[], each with its provider, whether it is a test account, whether it supports SCAN forms / manifests, and its services[] as {token, name, carrier}), the saved package_presets, the defaults a new batch starts with (from the account's shipping label settings, plus print_sort, marketplace_labels and amazon_prefer_protected), the allowed rate_strategies and label_formats, the marketplace_rules for marketplace_labels (include, prefer, exclude, each with its label), marketplace_accounts (the connected Walmart and Amazon stores that can sell their own labels: integration_instance_id, name, provider walmart_sww or amazon_buy_shipping, provider_label, enabled = whether the store offers its labels, set on the store's own settings, and settings_route = the SKU.io app page of that setting), max_items (orders per batch) and max_future_ship_days (how far ahead a ship date may be).

Required scope: orders:read

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

Use a service token as service_token / allowed_service_tokens when creating or updating a batch, and a label account id in integration_instance_ids. EasyPost has no account-level service list, so its services are the common ones; any other EasyPost service token is accepted.

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

label_accounts lists every connected account that can buy labels now (EasyPost, Shippo, ShipStation, Starshipit, ShipRush, Shiptheory or Shippit). supports_scan_forms is true when that account can create SCAN forms / manifests today (EasyPost, Shippo, Shippit, and ShipRush production accounts; a Shippit manifest also books the courier pickup). unready_label_accounts lists connected label integrations that cannot buy labels yet, with the reason and the settings page that fixes it — for example a ShipRush account without its Shipping API token.

Each label account reports quotes_prices (false when the provider gives no price before booking — Shiptheory; such an account can only be used with the fixed_service rule and is never rate-shopped), supports_void (false when labels can't be voided through the provider) and label_formats (the formats the provider returns; Shiptheory and Shippit return PDF only). Shiptheory services are the account's synced delivery services; the token is the Shiptheory service id.

Each label account also carries requires_ship_from (true for providers that always ship from the account's own pickup address, such as Shippit), ships_from_warehouse_id and ships_from_warehouse_name: such an account only buys labels for batches from that warehouse. A Shippit account without a chosen warehouse is listed under unready_label_accounts with the setting to fix.

customs_options lists the customs contents types, if-undeliverable options and incoterms with their labels. Each label account carries supports_customs: whether it can buy international labels with a customs declaration (EasyPost, Shippo, ShipStation, Starshipit, Shippit, Shiptheory and ShipRush can; Amazon Buy Shipping and Ship with Walmart labels are domestic only).

Request​

Responses​

OK

Response Headers
    Content-Type