cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eBay Trading API export complete conversation

I am currently endeavoring to export an entire conversation using the eBay API, however, I am encountering difficulties in finding an effective solution. The challenge lies in the fact that the system only allows for the exportation of received messages.

Here is the process I have been employing thus far:

 

 body = """
<?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>{token}</eBayAuthToken>
</RequesterCredentials>
<DetailLevel>ReturnHeaders</DetailLevel>
</GetMyMessagesRequest>
""".format(token=token)

I initiate a request to retrieve the headers, aiming to obtain the message IDs. Subsequently, I proceed to request the corresponding messages.
 body = """
<?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>{token}</eBayAuthToken>
</RequesterCredentials>
<MessageIDs>
<MessageID>{msg_id}</MessageID>
</MessageIDs>
<DetailLevel>ReturnMessages</DetailLevel>
</GetMyMessagesRequest>
""".format(token=token, msg_id=msg_id)


I am currently receiving messages through HTML, a method I find rather perplexing. This process allows me to export the received messages from the HTML and view my sent messages within the history. However, this method is far from ideal as it does not present the conversation in chronological order, a feature I find crucial for my needs.

I am not fond of this system and am in search of a more efficient solution that will allow me to export my conversations in a chronological manner.

If anyone has a more effective solution, I would greatly appreciate your input.

Best regards.



 

Message 1 of 1
latest reply
0 REPLIES 0