Approve Cancellation
POST /post-order/v2/cancellation/{cancelId}/approve
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 |
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. 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.
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 |
---|