Delete Return Request Draft File
DELETE /post-order/v2/return/draft/{draftId}/file/{fileId}
Use this method to delete a file that is currently associated with a return request draft.
Output Samples Change History |
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 eBay-assigned ID of the return request draft. The draftId value is required as part of the call URI to identify the return request draft associated with the file to be deleted. |
fileId | string | Required | The unique eBay-assigned ID of the draft file. The fileId value is required as part of the call URI 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.
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.
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/5*******1/file/5********2
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 |
---|