eBay Post-Order APIVersion 2

Delete Return Draft File

DELETE /post-order/v2/return/draft/{draftId}/file/{fileId}

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

Input

See also Samples.

Resource URI (production)

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

URI parameters

Parameter Type Required? Meaning
draftId string Required The unique identifier of the return draft. The draftId value is required to identify the return draft containing the file to be deleted.
fileId string Required The unique identifier of the draft file. The fileId value is required to identify the the file to be 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.



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 draft, use this operation to delete the file if you have determined that it is not relevant to the return draft after all.

Input

The draftId parameter is required to identify the return draft 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/draft/501798711/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