Download Packing Slip (PDF base64)
GET//:domain/api/starshipit/integration-instances/:integration_instance/orders/:order/packing-slip
Proxies StarShipIt's GET /api/orders/packingslip endpoint and returns the base64-encoded PDF packing slip for the order.
The response contains filename, mime_type, and base64. The frontend decodes the base64 string client-side and triggers a download.
Returns 400 if the local order has no starshipit_order_id. Returns 502 if the StarShipIt API call fails or returns no packing slip.
Authentication: Requires Bearer token.
Request
Responses
- 200
OK
Response Headers
Content-Type