Skip to main content

Get Fulfillment Order Label

GET 

/api/fulfillment-orders/:fulfillmentOrder/label

Returns the fulfillment order's current shipping label, so you can pick up where a label purchase left off: show its tracking, print it, void it, or finish a purchase still in progress.

Required scope: orders:read

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

data is a label batch item (as Get Label Batch Item: id, shipping_label_batch_id, status, quoted, purchased with tracking numbers, cost and benefits, marketplace_label, failure fields), or null when the order has none. It is:

  • the order's row from Get Fulfillment Order Label Rates — bought (purchased or void_pending), still buying (purchasing), or rated but not bought yet; or
  • a label bought for the order in a regular label batch (purchased or void_pending).

data is null when rates were never fetched for the order, its label was voided, or it sits in a regular label batch without a bought label.

Print the label with Download Label Batch Item Label and void it with Void Label Batch Labels, using shipping_label_batch_id and the item id. If a bought label's shipment was not recorded, send its id as item_id to Buy Fulfillment Order Label to record it.

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

Request​

Responses​

OK

Response Headers
    Content-Type