This method approves a buyer's order cancellation request on behalf of the seller.
Important! Due to EU & UK Payments regulatory requirements, an additional security verification via Digital Signatures is required for certain API calls that are made on behalf of EU/UK sellers, including this method. Please refer to Digital Signatures for APIs to learn more on the impacted APIs and the process to create signature to be included in the HTTP payload.
If the order is eligible for cancellation and the seller agrees, this method cancels the order and notifies the buyer of the cancellation.
This method has no request or response payloads. The cancelId value is passed in as a path parameter and if the order is successfully cancelled, an HTTP status code of
200 is returned.
|Output Samples Change History|
See also Samples.
Resource URI (production)
|cancelId||string||Required||The unique eBay-assigned identifier of the cancellation request to be approved. The cancellation ID value is passed in as part of the call URI.|
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.
This call uses standard authorization tokens. See Making a Call for details.
This call has no request payload.
|Input Samples Change History|
See also Samples.
This call has no response payload.null
|Input Output Change History|
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.
Sellers must approve all buyer-initiated cancellation requests before an order is actually cancelled.
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
A successful call returns an HTTP code of 200; there is no payload for the response.
|Input Output Samples|