eBay Post-Order APIVersion 2

Delete Return File

DELETE /post-order/v2/return/{returnId}/file/{fileId}

Use this call to delete a file that is currently associated with a return request.

Input

See also Samples.

Resource URI (production)

DELETE https://api.ebay.com/post-order/v2/return/{returnId}/file/{fileId}

URI parameters

Parameter Type Required? Meaning
fileId string Required The unique identifier of a file associated with a return. This identifier can be retrieved by using a getFiles call. The fileId value is required to identify the file to delete.
returnId string Required The unique identifier of the return. The returnId value is required to identify the return for which a file is being deleted.


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: Delete a File

This operation deletes a previously uploaded file.

Description

If you have previously uploaded and associated a particular supporting file with a specific return request, use this operation to delete the file if you have determined that it is not relevant to the return request after all.

Input

The returnId parameter is required to identify the return request from which the file is being deleted, and the fileId parameter identifies the file. This call has no request payload.

URL format. See also the non-wrapped version of this URL.

DELETE https://api.ebay.com/post-order/v2/return/5000116809/file/5000013622

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.