Objective: Deletes an order from the TPL database
JSON Composition for sending:
{
*"auth" : key obtained in get/auth method
*"id" : unique order ID returned by put/order
}
Returns with:
{
"code" : integer
,"message" : text
}
Code:
200: order deleted successfully
402: invalid data received
403: cancelled order cannot be deleted
404: order number not found
405: id tag not informed
500: invalid auth
501: user without authorization for deletion
502: client blocked
504: order integrated into WMS cannot be deleted