Skip to main content

Auto-Pack Shipment

POST 

/api/spscommerce/fulfillments/:salesOrderFulfillment/packing/auto-pack

Build and save a packing plan automatically. mode=case_pack fills full cartons of each product's case quantity, puts each remainder in its own carton and products with no case quantity in one shared carton; mode=single_carton packs everything into one carton. Carton weights are estimated from product weights. Returns the new packing and any warnings.

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