OrdersDraft orders

Delete Draft Order

Delete a draft order by ID

Note: Draft orders can only be deleted if they are not yet converted to orders. Converted draft orders cannot be deleted.

DELETE
/shipos/draft-orders/{draft_order_id}
x-access-token<token>

In: header

Path Parameters

draft_order_id*string

The ID of the draft order to delete

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/shipos/draft-orders/string"
Empty