Cancel Order
Description
Cancels Pending Order on DIDWW side. It is used to Cancel an Order that has not yet been Completed and is in Pending status. It will also remove DID numbers in this Order.
Request
HTTP Method: DELETE
URI Path: /v3/orders/
URI Query Parameters:
Name |
Type |
Is Required? |
Description |
---|---|---|---|
id |
|
Yes |
Unique ID identifier of the Order. |
Example
DELETE /v3/orders/1b3ac4b7-315c-4416-afb8-24d8e7c4ec0c HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
curl -i -X DELETE https://api.didww.com/v3/orders/1b3ac4b7-315c-4416-afb8-24d8e7c4ec0c -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
HTTP/1.1 202 Deleted
Content-Type: application/vnd.api+json
Other Responses
Code |
Success |
Description |
---|---|---|
404 |
No |
|
401 |
No |