Cancel Order#
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#
http
1DELETE /v3/orders/1b3ac4b7-315c-4416-afb8-24d8e7c4ec0c HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
curl
1curl -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"
response
1HTTP/1.1 204 No Content
2Content-Type: application/vnd.api+json
Other Responses#
Code |
Success |
Description |
|---|---|---|
404 |
No |
|
401 |
No |