Get Fulfillment Order Label Rates
POST/api/fulfillment-orders/:fulfillmentOrder/label-rates
Rate-shops one fulfillment order for a shipping label: every connected label account (EasyPost, Shippo, ShipStation, Starshipit, ShipRush, Shiptheory, Shippit) plus the order's marketplace label program — Ship with Walmart for a Walmart order, Amazon Buy Shipping for an Amazon order — when its store offers its own labels. Nothing is bought. Pick one of the rates and send it to Buy Fulfillment Order Label.
orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Behind the scenes the order goes into a one-order label batch (source = single, hidden from List Label Batches), so the account's label batch defaults apply: the package, ship date, label format, marketplace_labels and amazon_prefer_protected from the shipping label settings. Calling it again re-uses that batch and re-rates.
Body (all optional; the shipping label settings fill the rest):
package(object;package.moderequired when sent):modefrom_products (weigh the order's products, plustare_weight) or fixed;preset_id(max 64),name(max 120);length,width,height(> 0, max 1000) anddimension_unit(in, cm;unitis accepted as an alias);weight(> 0, max 5000; required when mode=fixed) andweight_unit(lb, oz, kg, g);tare_weight(0-5000).ship_date(Y-m-d): today up to 6 days ahead.label_format: pdf or zpl.
Response data:
shipping_label_batch_idanditem_id: the one-order batch and its row. Senditem_idto Buy Fulfillment Order Label; print or void the bought label with the label batch item endpoints.rates[], cheapest first (a tie lists the marketplace rate first):integration_instance_id,integration_instance_name,provider,provider_label,is_marketplace,service_token,service_name,carrier,amount,currency,delivery_days,benefits(e.g. claims_protected = Amazon A-to-z claim protection),excluded_benefits(each {benefit, reasons}) andis_test.recommended_rate(or null): the rate the label batch rules would pick —service_token,provider,integration_instance_idandreason(cheapest, fixed_service, prefer_marketplace or prefer_protected).unavailable[]: label programs and accounts that offered no rate, each withprovider,provider_label,integration_instance_id(null for a program the order is not on) andreason.rule: the marketplace label rule the rates were picked under — include (marketplace rates compete on price), prefer (a marketplace rate wins when one is offered) or exclude (no marketplace rates).protected_only(boolean): true when the rule is prefer and only A-to-z protected Amazon rates are preferred (amazon_prefer_protected).
422 (with errors.<field>) when the order cannot be rated: it is not open or not shipped from your own warehouse, it is already in a label batch, it already has a label bought here (void it first) or a purchase is still finishing, the ship-from or ship-to address is incomplete, it is international, a product has no weight, no label account is connected and no marketplace label is available, or every provider failed (errors.rates carries their messages). Validation errors for the body also return 422.
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.