API DocumentationShipments
Download a shipment document
Returns the decrypted file bytes with the stored content type.
Authorization
Phasio API Bearer Token AuthorizationBearer <token>
In: header
Path Parameters
orderId*integer
ID of the order the shipment belongs to
shipmentId*string
ID of the shipment the document belongs to
documentId*string
ID of the document to download
Response Body
application/octet-stream
application/json
application/json
curl -X GET "https://example.com/api/manufacturer/v1/order/1/shipments/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{ "error": "ORDER_NOT_FOUND", "message": "Order not found"}{ "error": "ORDER_NOT_FOUND", "message": "Order not found"}