Skip to main content
Published: October 16 2007, 1:54:00 PMUpdated: August 23 2022, 5:56:16 AM

Why am I not getting back any messages when I make the GetMemberMessages call with <MailMessageType>AskSellerQuestion</MailMessageType>?

Detailed Description

The GetMemberMessages call will not return any messages when the request simply has <MailMessageType>AskSellerQuestion</MailMessageType>.
Here is an example of a call that will not return any messages:

 <?xml version="1.0" encoding="utf-8"?>
 <GetMemberMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
   <Version>1267</Version>
   <MailMessageType>AskSellerQuestion</MailMessageType>
   <StartCreationTime>2022-06-10T12:00:00.000Z</StartCreationTime>
   <EndCreationTime>2022-06-16T12:00:00.000Z</EndCreationTime>
   <RequesterCredentials>
     <eBayAuthToken>TOKEN</eBayAuthToken>
   </RequesterCredentials>
 </GetMemberMessagesRequest>

This is considerd a product limitation, and has the following workaround.
In order to get the messages that have a MailMessageType of AskSellerQuestion, two separate calls must be made.

  • Using <MessageStatus>Unanswered</MessageStatus>
     <?xml version="1.0" encoding="utf-8"?>
     <GetMemberMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
       <Version>1267</Version>
       <MailMessageType>AskSellerQuestion</MailMessageType>
       <MessageStatus>Unanswered</MessageStatus>
       <StartCreationTime>2022-06-10T12:00:00.000Z</StartCreationTime>
       <EndCreationTime>2022-06-16T12:00:00.000Z</EndCreationTime>
       <RequesterCredentials>
         <eBayAuthToken>TOKEN</eBayAuthToken>
       </RequesterCredentials>
     </GetMemberMessagesRequest>
    This will return the AskSellerQuestion messages that have not been answered.
  • Using <MessageStatus>Answered</MessageStatus>
     <?xml version="1.0" encoding="utf-8"?>
     <GetMemberMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
       <Version>1267</Version>
       <MailMessageType>AskSellerQuestion</MailMessageType>
       <MessageStatus>Answered</MessageStatus>
       <StartCreationTime>2022-06-10T12:00:00.000Z</StartCreationTime>
       <EndCreationTime>2022-06-16T12:00:00.000Z</EndCreationTime>
       <RequesterCredentials>
         <eBayAuthToken>TOKEN</eBayAuthToken>
       </RequesterCredentials>
     </GetMemberMessagesRequest>
    This will return the AskSellerQuestion messages that have been answered.

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!