我在我的 AddFixedPriceItem 请求中指定了一个 SKU,但响应没有返回 SKU(尽管 SKU 在架构中指定)。这是一个问题,因为我正在使用大型商户服务并且可以一次提交许多项目。如果一批中的一个项目失败,我应该如何判断它是哪一个?如何将 SKU 与 ItemId 相关联?如果我不能将响应信息映射回我的库存中的某个东西,那么响应信息就没有什么价值了。
下面是一个不返回 SKU 的请求示例:
<?xml version="1.0" encoding="UTF-8"?>
<BulkDataExchangeRequests xmlns="urn:ebay:apis:eBLBaseComponents">
<Header>
<SiteID>0</SiteID>
<Version>639</Version>
</Header>
<AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>639</Version>
<Item>
<CategoryMappingAllowed>true</CategoryMappingAllowed>
<Country>US</Country>
<Currency>USD</Currency>
<Description>This is the description.</Description>
<ListingDuration>GTC</ListingDuration>
<ListingType>FixedPriceItem</ListingType>
<Location>Provo, UT</Location>
<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress>ebay@mystore.com</PayPalEmailAddress>
<PrimaryCategory>
<CategoryID>63850</CategoryID>
</PrimaryCategory>
<Quantity>10</Quantity>
<ShippingDetails>
<SalesTax>
<SalesTaxPercent>6.5</SalesTaxPercent>
<SalesTaxState>UT</SalesTaxState>
<ShippingIncludedInTax>false</ShippingIncludedInTax>
</SalesTax>
<ShippingServiceOptions>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost currencyID="USD">7.99</ShippingServiceCost>
<ShippingServiceAdditionalCost currencyID="USD">0.0</ShippingServiceAdditionalCost>
<ShippingServicePriority>1</ShippingServicePriority>
</ShippingServiceOptions>
<ShippingType>Flat</ShippingType>
<InsuranceDetails>
<InsuranceOption>NotOffered</InsuranceOption>
</InsuranceDetails>
</ShippingDetails>
<Site>US</Site>
<StartPrice currencyID="USD">100.0</StartPrice>
<Title>Test Product</Title>
<SKU>PROD02-TST</SKU>
<DispatchTimeMax>3</DispatchTimeMax>
<ReturnPolicy>
<ReturnsWithinOption>Days_30</ReturnsWithinOption>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<Description>Our return policy details.</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<InventoryTrackingMethod>ItemID</InventoryTrackingMethod>
</Item>
</AddFixedPriceItemRequest>
</BulkDataExchangeRequests>