eBay Post-Order APIVersion 2

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 notifies the buyer and cancels the order. This call 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.

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 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.


Output

See also Samples.

Payload model

This call has no response payload.

null



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.

Sample: Approve a cancellation

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/5000021216/approve

Output

A successful call returns an HTTP code of 200; there is no payload for the response.

JSON format.



Change History

Change Date Description
1.0
2015-06-30
  • Call (added): New call.