API DocumentationShipments

Delete a shipment

DELETE
/api/manufacturer/v1/order/{orderId}/shipments/{shipmentId}

Deletes a shipment that has not been fulfilled.

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 to delete

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/manufacturer/v1/order/1/shipments/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{  "error": "ORDER_NOT_FOUND",  "message": "Order not found"}
{  "error": "ORDER_NOT_FOUND",  "message": "Order not found"}
{  "error": "ORDER_NOT_FOUND",  "message": "Order not found"}