Cancel Order
Cancel a pending order.
Resource URL
https://oms.sokochan.com/api/1.0/orders/{id}/cancel
Parameter(s)
Name | Description | Type | Length |
---|---|---|---|
id Required | Sokochan order code or External ID (Please prefix External ID with the @ symbol). | string | 50 |
curl -X PUT -H "Authorization: Basic ZnJlZDpmcmVk="\
"https://oms.sokochan.com/api/1.0/order/@00100001/cancel"
curl -X PUT -H "Authorization: Basic ZnJlZDpmcmVk="\
"https://oms.sokochan.com/api/1.0/order/1610-006-00004/cancel"
{ "code": "200", }