For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Sort by

Replying member messages with AddMemberMessageRTQ Trading API

  • Answer ID 1368
  • Published 02/24/2009 11:19 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink
What API should I use to reply eBay member messages?


   By going to one of the URLs as below, an eBay member can send a message to another eBay user. 

Contact Member for communicating with any eBay member:{MemberUserID}

Ask Seller a Question for an active listing:{ItemID}&requested={SellerUserID}

Trading API AddMemberMessageRTQ call enables a seller to reply to an Ask Seller a Question type message or Contact Member message. 

Detailed Description


To anwser such messages,  one needs to:

  • call GetMyMessages API as below to retrieve SenderExternalMessageID, MessageID, ResponseEnabled and ItemID
 <?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
   xxx  </RequesterCredentials>



  • Exam each Message container, if Message.ResponseDetails.ResponseEnabled flag is true and  Message.Replied is false ,  then make another GetMyMessage call with the Message.MessageID  and <DetailLevel>ReturnMessages</DetailLevel to obtain the complete message for the Message.MessageID in question.
 <?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <eBayAuthToken>AgAAAA** ....</eBayAuthToken>



  • Pass the data obtained in the step1 and your answer into AddMemberMessageRTQ  as below:

 <?xml version="1.0" encoding="utf-8"?>
<AddMemberMessageRTQRequest xmlns="urn:ebay:apis:eBLBaseComponents">

    <Body>YOUR ANSWER</Body>

 <ItemID>{GetMyMessagesResponse.Messages.Message.ItemID}</ItemID>  <--- only if it is returned in the step 1 !!!! -->
    xxxx  </RequesterCredentials>

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter