Use this call to delete a file that is currently associated with a return request.
|Output Samples Change History|
The following lists all fields that could be included in the request.
See also Samples.
|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.|
||The media type for the response. Defaults to JSON (the only supported media type).||application/json|
||The Authentication Token that is used to validate the caller has permission to access the eBay servers. Prefix a valid eBay token with the word "
For more details, see Getting Tokens.
||The MIME type of the body of the request. Must be JSON.
||The global ID of the eBay site on which the transaction took place.
|Currently, the marketplaces are limited to:
This call uses standard authorization tokens. See Making a Call for details.
This call has no request payload.
|Input Samples Change History|
A successful call contains an HTTP status code of 200. See the HTTP Status Code Registry for a complete overview of HTTP status codes.
Note: The response information on this page applies to successful requests only. For information about the error fields and how to work with them, see Error Handling.
See also Samples.
This call has no response payload.
|Input Output Change History|
New to making API calls? Please see Making an API 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.
This operation deletes a previously uploaded file.
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.
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
A successful call returns an HTTP code of
200; there is no payload for the response.
JSON format. Also available is the .txt version of this JSON.
|Input Output Samples|
Copyright © 2015–2016 eBay Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.