Cancel an order
-X POST
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header 'Authorization: Bearer {token here}'
-d '{ \
"message": "string" \
}' 'https://api.lime.co/orders/20171003209384646/cancel'
Response example
{
"success": true,
"data": "201710041710516537"
}
Cancel the specified order
Request
the order is identified by its id on the url. The request can also contain optional info
name | description |
---|---|
message | Optional, any string |
Response
name | value |
---|---|
success | true |
data | the cancellation request id |