Purchase a Shippo shipping label for this package
fulfillment:writeDelegates to purchaseLabel in routes/shipping.mjs via buyLabelForPackage canonical helper. Requires a configured Shippo connector for the entity. The purchased label URL and tracking number are saved to fulfillment.package_shipment_labels. Idempotent via Idempotency-Key.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Headers
Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.
255Path Parameters
Body
Response
Purchased label record. NEW-GAP-RERATE-SHIPPING-CHARGE-DELTA-WORKFLOW
(2026-05-16): the response now includes a shipping_cost_analysis
block when the carrier cost diverges from what the customer was
charged for shipping. When suggest_action !== 'absorb', the
operator (or a downstream automation) should call
POST /packages/{id}/recharge-label to settle the delta.
A shipping label purchased from a carrier (typically Shippo). One label per package. URLs expire 30 days after purchase; persist the PDF locally for long-term retention.
Carrier-hosted PDF URL (time-limited).
Arcus-archived PDF URL (permanent).
Amount Arcus paid the carrier.
Amount billed to the customer.
Carrier-cost-vs-customer-charged delta. Null when the analysis could not be computed (logged server-side as a non-blocking warning).

