typesrequestresponseamazon-product-api

Detect whether or not a customer has an Amazon Prime membership with the Amazon API


I am trying to figure out a way to use the Amazon API to detect whether or not a customer has an Amazon Prime membership - according to the customer information API - this is what a response looks like when you look up a customer:

<?xml version="1.0"?>
<GetCustomersForCustomerIdResponse xmlns="http://mws.amazonservices.com/schema/CustomerInformation/2014-03-01">
  <GetCustomersForCustomerIdResult>
    <CustomerList>
      <Customer>
        <CustomerId>AQA0987654321</CustomerId>
        <ShippingAddressList>
          <ShippingAddress>
            <IsDefaultAddress>true</IsDefaultAddress>
            <FullName>John Doe</FullName>
            <AddressLine1>12345 Example Ave</AddressLine1>
            <AddressLine2>Apt 12345</AddressLine2>
            <City>Seattle</City>
            <StateOrRegion>WA</StateOrRegion>
            <PostalCode>98121</PostalCode>
            <CountryCode>US</CountryCode>
          </ShippingAddress>
        </ShippingAddressList>
        <PrimaryContactInfo>
          <Email>JohnDoe@customeremail.com</Email>
          <FullName>John Doe</FullName>
        </PrimaryContactInfo>
        <AccountType>NORMAL</AccountType>
        <AssociatedMarketplaces>
          <MarketplaceDomain>
            <DomainName>MyWebstoreName.com</DomainName>
            <AssociatedOn>2012-07-18T00:00:00Z</AssociatedOn>
            <LastUpdatedOn>2012-07-18T17:21:16Z</LastUpdatedOn>
          </MarketplaceDomain>
        </AssociatedMarketplaces>
      </Customer>
    </CustomerList>
    <NextToken>QVYyVTY5NUVaQzBDWHw0ODEXAMPLECB8IHw1OTM0MDZ8IHwwLDJ8</NextToken>
    <MoreResultsAvailable>true</MoreResultsAvailable>
  </GetCustomersForCustomerIdResult>
  <ResponseMetadata>
    <RequestId>8547a35c-8e70-11EXAMPLE-5bf2881764d8</RequestId>
  </ResponseMetadata>
</GetCustomersForCustomerIdResponse>

I have looked at what all the datatypes mean (see the above link) - and none of them output any information about whether or not the customer has an Amazon Prime membership.

Has anyone figured this out?


Solution

  • As of today, this isn't possible. The API docs only mention Prime in the scope of items, not consumers. You can't determine if a customer is a Prime subscriber, and you can't even determine if items are Prime eligible.