Skip to main content

eBay sends an AskSellerQuestion notification when a user asks a question about one of a seller's active listings.

Platform Choice

A seller requests to receive this notification by issuing a SetNotificationsPreference call. By default, these notifications are sent via API ("Platform").

Alternatively, users can choose to be notified via text message("SMS").

Data Fields Returned

API Call that displays this notification: GetMemberMessages

The data fields returned by the AskSellerQuestion notification are the same as those returned by GetMemberMessages. Refer to the GetMemberMessages call reference documentation for additional information.

Most of the useful information in the body of this notification is nested within the MemberMessage.MemberMessageExchange property.

Key properties include:

  • Item.ItemID: Item ID of the item the user asked a question about
  • Question.QuestionType: Type of question being asked
  • Question.SenderID: User who sent the question
  • Question.Body: Text of the question being asked
  • CreationDate: Time the question was created (the time it was sent)

Refer to SOAP Message Body for information about the standard elements returned for all notifications.

Example

AskSellerQuestion Notification

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-
instance">
  <soapenv:Header>
    <ebl:RequesterCredentials soapenv:mustUnderstand="0"
          xmlns:ns="urn:ebay:apis:eBLBaseComponents"xmlns:ebl="urn:ebay:apis:eBLBaseComponents">
      <ebl:NotificationSignature      xmlns:ebl="urn:ebay:apis:eBLBaseComponents">AKurONibBT6zkNCsQ27rtg==
      </ebl:NotificationSignature>
    </ebl:RequesterCredentials>
  </soapenv:Header>
  <soapenv:Body>
    <GetMemberMessagesResponse xmlns="urn:ebay:apis:eBLBaseComponents">
      <Timestamp>2005-04-26T21:49:07.567Z</Timestamp>
      <Ack>Success</Ack>
      <CorrelationID>00000000-00000000-00000000-00000000-00000000-00000000-0000000000</CorrelationID>
      <Version>405</Version>
      <Build>20050419162249</Build>
      <NotificationEventName>AskSellerQuestion</NotificationEventName>
      <RecipientUserId>sampleseller</RecipientUserId>
      <MemberMessage>
        <MemberMessageExchange>
          <Item>
            <ItemID>4********9</ItemID>
            <ListingDetails>
              <StartTime>2005-04-26T21:45:04.000Z</StartTime>
              <EndTime>2005-05-01T21:45:04.000Z</EndTime>
            </ListingDetails>
            <SellingStatus>
              <CurrentPrice currencyID="USD">0.0</CurrentPrice>
            </SellingStatus>
            <Title>Toy car - antique</Title>
          </Item>
          <Question>
            <MessageType>AskSellerQuestion</MessageType>
            <QuestionType>General</QuestionType>
            <DisplayToPublic>false</DisplayToPublic>
            <SenderID>s********r</SenderID>
            <RecipientID>3*******1</RecipientID>
            <Body>Text of the question</Body>
            <MessageID>695</MessageID>
          </Question>
          <MessageStatus>Unanswered</MessageStatus>
          <CreationDate>2005-04-26T21:46:26.000Z</CreationDate>
          <LastModifiedDate>2005-04-26T21:46:26.000Z</LastModifiedDate>
        </MemberMessageExchange>
      </MemberMessage>
      <PaginationResult>
        <TotalNumberOfPages>1</TotalNumberOfPages>
        <TotalNumberOfEntries>1</TotalNumberOfEntries>
      </PaginationResult>
      <HasMoreItems>false</HasMoreItems>
    </GetMemberMessagesResponse>
  </soapenv:Body>
</soapenv:Envelope>