Delete order

POST {{url}}/moovinApiWebServices{{country}}/rest/api/ecommerceExternal/deleteOrder

The orders can be deleted if their status is one of following:

  • INSERT
  • PICKUP
  • PREPARE

Status

  • SUCCESS: the proccess was carried out correctly, the order has been deleted.

  • PERMISSIONDENIED: you have not permissions to delete one order or you are not the owner.

  • DUPLICATE: this package has already been deleted before.

  • NOPERMIT: The status of this order not permit to be deleted

Request Body

{"idPackage"=>1240}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
tokenstring

RESPONSES

status: OK

{"status":"PERMISSIONDENIED","message":"You do not have permission to execute the action"}