Skip to main content

Preview Packing Slip for a Sales Order

POST 

/api/pdf-templates/preview-sales-order

Renders the saved packing-slip template against a real sales order and returns a base64-encoded PDF in data.pdf.

Not yet available to API tokens

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

Authentication: Bearer Personal Access Token with the settings scope (read access).

Fields:

  • sales_order_id (required): the sales order to render.

Request

Responses

OK

Response Headers
    Content-Type