我正在尝试找出一种方法来使用 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>[email protected]</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 会员资格的任何信息。
有人想出来吗?
到今天为止,这是不可能的。 API 文档仅在项目范围内提及 Prime,而不是消费者。您无法确定客户是否是 Prime 订阅者,您甚至无法确定商品是否符合 Prime 资格。