This API endpoint allows you to delete a consignee.
Code | Description |
---|---|
400 | Bad Request. |
404 | Not Found. |
500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/consignees/353388.json" -X DELETE -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{ "consignee" : { "contact_person" : null, "phone" : null, "email" : null, "customs_code" : null, "vat_number" : null, "name" : "A+ TIRE", "address" : "DELMAS 19, RUE PIERRE ANSELME", "id" : 300009, "general_ledger_id" : null } }
Param name | Description |
---|---|
id required |
Validations:
|