EBay Large Merchant Services does not return SKU

I specify the SKU in my AddFixedPriceItem requests, but the response does not return with the SKU (although the SKU is specified in the diagram). This is a problem because I use Large Merchant Services and can send multiple items at once. If one item in a package fails, how should I be able to say what it is? How can I associate SKUs with ItemIds? The response information is of very little importance if I cannot match it with something in my inventory.

Here is an example of query output that does not return 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> 
+7
ebay ebay-api ebay-lms
source share
1 answer

If one item in a package fails, how should I be able to tell which one is it?

Use MessageID in the AddFixedPriceItem request.

How can I associate SKUs with ItemIds

Most likely, I assume that you want to manage your inventory through SKU, i.e. โ€œIncrease the number by +2 for SKUโ€œ MYTESTSKU02. โ€If so, you need to:

 <InventoryTrackingMethod>SKU</InventoryTrackingMethod> 

Then you can execute Relist / Revise / End with SKU. If you just want to associate the SKU with the ItemID as more of a shortcut, and you still want to manage your inventory with the ItemID, then your current request seems correct.

As for the SKU field, which is not returned, can you insert AddFixedPriceItemResponse?

+6
source share

All Articles