Skip to main content

Print Packing Slips

GET 

/api/export/fulfillment-orders/packing-slips

Render (and combine, when several) packing slips for the given FulfillmentOrders and return the resulting file URL. The FO is the warehouse work package, so its slip lists the FO's planned line quantities.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Authentication: Requires Bearer token.

Query parameters:

  • ids (required) — comma-separated FulfillmentOrder ids (e.g. 1,2,3). Ids that no longer exist are skipped.
  • engine (optional, default snappy) — snappy renders through the NEW PdfTemplate-driven pipeline with fingerprinted <fo_id>_<fp>.pdf caching; jasper keeps the legacy Jasper flow with stable <fo_id>.pdf caching.

Printing stamps packing_slip_printed_at on each FO. When multiple slips render, they are combined into a single PDF and a reports disk URL is returned.

Errors: If the selected engine's renderer fails, the endpoint returns HTTP 500 with a JSON message describing which engine failed (details are written to the application logs).

Request

Responses

OK

Response Headers
    Content-Type