developers program  

Welcome, Guest Help
Login Login | Register
 

eBay Developer Forums > Technical Questions: eBay Trading API, Feedback API & Large Merchant Services
RSS | NNTP Reader | FAQ | Usage Policies | Advanced Search | Print

in current forum  
in all Developer Forums

Replies: 2 - Pages: 1     Last Post: Nov 24, 2009 2:45 AM by: devanathan.developersupport@ebay.com »



Posts: 18
Member Since: 11/16/09



Not getting back SKU from AddFixedItemResponse
Posted: Nov 19, 2009 9:03 AM
  Click to reply to this thread Reply

I am specifying a SKU in my AddFixedPriceItem requests but the response returns null. This is a problem because I am using Large Merchant Services and can submit many items at once. If one item in a batch fails, how am I supposed to be able to tell which one it is? How can I relate SKUs to ItemIds?

Here is an example of a request going out that does not return a 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>





Posts: 18
Member Since: 11/16/09



Re: Not getting back SKU from AddFixedItemResponse
Posted: Nov 20, 2009 11:40 AM
  Click to reply to this thread Reply

The documentation says that the SKU is conditionally returned "Item-level SKU for the new listing, if the seller specified Item.SKU in the request. Variation SKUs are not returned (see GetItem instead). "

I am specifying the SKU in my item in the request so it seems like I should be getting it returned in the response.




Posts: 615
Member Since: 5/12/09



Re: Not getting back SKU from AddFixedItemResponse
Posted: Nov 24, 2009 2:45 AM
  Click to reply to this thread Reply

Hi rnelkins,

Welcome to eBay Developer Forums.

IF you notice that, in the request the <InventoryTrackingMethod> is set to ItemID. Hence the <SKU> is not returned in the response.

Try changing the <InventoryTrackingMethod>SKU</InventoryTrackingMethod> and execute the call and you will notice the <SKU> returned in the response.

Have a nice day.

Best Regards,
Devanathan Sampath
eBay Developer Support



thread.rss_message