Cancel Order
Cancel an ITAD order within 2 hours of placement.
POST
/api/v1/itad/{order_number}/cancelDescription
Cancels ITAD order by order number. Cancellation is only allowed within 2 hours of order creation (UTC).
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer <access_token> | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| order_number | string | Yes | Numeric order number returned by Place Order or the ITAD order list/detail endpoints. |
Response
| Field | Type | Description |
|---|---|---|
| message | string | Cancellation result message. |
| order_number | string | Cancelled order number. |
Related Endpoints
Did this page help you?
Request
curl -X POST https://uat.unduit.com/api-exposed/api/v1/itad/174894512345/cancel \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"Success Response
{
"message": "Order has been cancelled successfully",
"order_number": "174894512345"
}Error Responses
404 Not Found
{
"cancelOrder": ["Order not found"]
}403 Time Limit Exceeded
{
"cancelOrder": ["Time limit has been exceeded"]
}