Skip to main content

Generate Carton Labels

POST 

/api/spscommerce/fulfillments/:salesOrderFulfillment/packing/labels

Render every finalized carton's retailer-formatted GS1-128 label through SPS Commerce, using the label template chosen for the trading partner, and store the ZPL per carton. When the retailer's template needs data the shipment lacks, returns 422 naming what to add (for example a bill of lading number or a shorter carrier name).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token. Available for shipments of SPS Commerce EDI orders; other shipments return 404. Requires the sales_orders.update permission.

Request​

Responses​

OK

Response Headers
    Content-Type