Upload a return pdf File as returnLabel from the seller
Hello,
while accepting a return request by using the "process return request" the return request itself is waiting for the seller to send the label.
After that we can buy a label at ebay or provide our own label - this is what we wanna do.
To do this we used the "upload Return File" call from the ebay post-order-return calls.
This call is used to send pictures (jpeg, png, bmp, gif) for the item purpose AND ALSO pdf files for using this call to send the returnLabel.
However, you will not be able to send detailed informations about the file you send, so we think the file type is interpreted by the file name, whitch is given in the call?
We send the binary64 code from the pdf, the file name "file_1234.pdf" and the purpose "LABEL_RELATED" in the request call.
The response is Code 200, everything fine, but when receiving the file infos from the related return request the file type is still "unknown".
But when we will use the Code stored to the given fileID it is the complete pdf dokument, no problem with decoding the base64 code.
So why is the fileType still "unknown" and also at the eBay website there is nothing to see about this document in the return request.
What shall we do to set the correct fileType and that the buyer will be able to see the document for printing it?
We're confused what might happen?
Will there be more payload data needed whitch is not corresponded in the API documentation?
This ist the API docu für uploading: https://developer.ebay.com/devzone/post-order/post-order_v2_return-returnid_file_upload__post.html