Home
Find the answer to your question
After retrieving a ProductID from the GetProductFinder call, how do I make an AddItem call and obtain prefilled item specifics?
Here is a sample AddItem call, made against the sandbox, with SiteID = 0. Note that by using the ProductID (for a Casio EXILIM camera) you will obtain the following in the listing :
<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>581</Version>
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<Item>
<Country>US</Country>
<Currency>USD</Currency>
<Description>Enter your HTML description here.</Description>
<DispatchTimeMax>3</DispatchTimeMax>
<ListingDuration>GTC</ListingDuration>
<ListingType>FixedPriceItem</ListingType>
<Location>San Jose, CA</Location>
<AutoPay>true</AutoPay>
<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress>test_premier@sandbox.com</PayPalEmailAddress>
<PrimaryCategory>
<CategoryID>31388</CategoryID>
</PrimaryCategory>
<ProductListingDetails>
<ProductID>100539:2:1134:2848832606:161649756:4ba7cf67a7fa7c3667b3290da71daec3:1:1:1:1383603473</ProductID>
<IncludeStockPhotoURL>true</IncludeStockPhotoURL>
<IncludePrefilledItemInformation>true</IncludePrefilledItemInformation>
</ProductListingDetails>
<Quantity>10</Quantity>
<StartPrice>1.0</StartPrice>
<Title>Casio EXILIM with pre-fill attributes and photo</Title>
<ShippingDetails>
<ShippingServiceOptions>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingService>UPS2ndDay</ShippingService>
<ShippingServiceCost>3.95</ShippingServiceCost>
<ShippingServiceAdditionalCost currencyID="USD">3.95</ShippingServiceAdditionalCost>
</ShippingServiceOptions>
</ShippingDetails>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<RefundOption>MoneyBack</RefundOption>
<ReturnsWithinOption>Days_30</ReturnsWithinOption>
<Description>Text description of return policy details</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
</Item>
<RequesterCredentials>
<eBayAuthToken>YOUR_TOKEN_HERE</eBayAuthToken>
</RequesterCredentials>
</AddItemRequest>