Approve Cancellation Request
POST /post-order/v2/cancellation/{cancelId}/approve
Approves a buyer's order cancellation request on behalf of the seller.
If the order is eligible for cancellation and the seller agrees, this call cancels the order and notifies the buyer of the cancellation.
This call has no request or response payloads. The cancelId value is passed in as a path parameter and if the order is successfully canceled, the service returns an HTTP status code of 200
.
Output Samples Change History |
Input
See also Samples.
Resource URI (production)
POST https://api.ebay.com/post-order/v2/cancellation/{cancelId}/approve
URI parameters
Parameter | Type | Required? | Meaning |
---|---|---|---|
cancelId | string | Required | The unique eBay-assigned identifier of the cancellation request to be approved. |
HTTP request headers
All requests made to eBay REST operations require you to provide the authorization
HTTP header for authentication.
See HTTP request headers for details.
Authorization
This call uses standard authorization tokens. See Making a Call for details.
Payload model
This call has no request payload.
Input Samples Change History |
Output
See also Samples.
Payload model
This call has no response payload.
nullInput Output Change History |
Samples
New to making API calls? Please see Making a Call.
Note: Some item IDs, user IDs, or other data in these samples might no longer be active on eBay. If necessary, you can substitute current eBay data in your requests.
The seller approves the buyers request for an order cancellation.
Description
Sellers must approve all buyer-initiated cancellation requests before an order is actually cancelled.
Input
There is no payload with this request. Supply the cancellation ID as a path parameter in the call.
URL format. See also the non-wrapped version of this URL. POST https://api.ebay.com/post-order/v2/cancellation/5********6/approve
Output
A successful call returns an HTTP code of 200; there is no payload for the response.
JSON format.
Input Output Samples |
Change History
Change Date | Description |
---|