我正在试图找到一种方法来使用Amazon API来检测客户是否拥有Amazon Prime会员资格-根据客户信息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>
我已经了解了所有数据类型的含义(请参阅上面的链接),它们都没有输出任何关于客户是否拥有亚马逊Prime会员资格的信息。
有人想明白了吗?
到今天为止,这是不可能的。API文档只在商品范围内提到Prime,而不是消费者。你无法确定客户是否是Prime用户,甚至无法确定商品是否符合Prime资格。