Linkable
POD Order

Cancel POD order

POST
/v1/orders/pod/{order_id}/cancel

Hủy đơn đang ở trạng thái PENDING hoặc FAILED.

Authorization

ClientToken
AuthorizationBearer <token>

Bearer token issued by Linkable. Pass in the Authorization: Bearer <token> header.

In: header

Path Parameters

order_id*string
Formatuuid

Response Body

application/json

curl -X POST "https://example.com/v1/orders/pod/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"
{  "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",  "status": "CANCELLED",  "warnings": [    "string"  ]}