admin-packing-slips

Generate Packing Slip

Generate (or regenerate) the packing slip for an order.

Idempotent — if a packing slip already exists for the project, this updates the admin-input override fields and re-renders the PDF (preserving the original PS-{YYYY}-{NNNNN} number).

Returns 202 immediately; the Temporal workflow handles the actual PDF render + R2 upload in the background. Frontend re-fetches the parent admin-payment detail query to see the populated PDF URL.

Requires payments:edit permission.

post/api/v1/admin/projects/{project_id}/packing-slip

Path parameters

project_idstring uuid required

Request body

total_weight_unit'kg' | 'lbs' nullable
package_countinteger nullable
ship_date_overridestring date nullable
notesstring nullable

Response

Successful Response

packing_slip_idstring uuid required
packing_slip_numberstring required
statusstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.