我试图找出一种方法来使用Amazon API来检测客户是否拥有Amazon Prime会员资格 - 根据customer information API - 这是您查找时的响应情况顾客:
<?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>
我已经查看了所有数据类型的含义(请参阅上面的链接) - 并且它们都没有输出有关客户是否拥有Amazon Prime会员资格的任何信息。
有人想出来了吗?
答案 0 :(得分:0)
截至今天,这是不可能的。 API文档仅在项目范围内提及Prime,而不是消费者。您无法确定客户是否为Prime订户,而can't even determine是否符合Prime要求。