Skip to main content

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

namedescription
messageOptional, any string

Response

namevalue
successtrue
datathe cancellation request id