question

maxxa1 avatar image
0 Likes"
maxxa1 asked ·

Facing Issue While Listing A Variation Product In Ebay Sandbox

I am integrating your ebay api into our application. I am trying to list a variational product to ebay sandbox but due to unknown reason, i am not able to list product on ebay. Step for variation product : 1. create inventory item with : createOrReplaceInventoryItem api First Item : {"availability":{"shipToLocationAvailability":{"quantity":777}},"condition":"NEW","packageWeightAndSize":{"weight":{"unit":"OUNCE","value":666},"dimensions":{"length":666,"width":666,"height":666,"unit":"CENTIMETER"}},"product":{"title":"Ralph Lauren Boys Big Pony Oxford Shirt","description":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","aspects":{"Brand":["Ralph Lauren"],"MPN":["Ralph Lauren"],"UPC":["888978186021"]},"imageUrls":[" http://sellerbase.insight-soft.com/media/product/9/0/9079161513712477.jpg","http://sellerbase.insight-soft.com/media/product/3/1/3199341513712479.jpg"]},"sku":"888978186021";} Second Item : {"availability":{"shipToLocationAvailability":{"quantity":888}},"condition":"NEW","packageWeightAndSize":{"weight":{"unit":"OUNCE","value":666},"dimensions":{"length":666,"width":666,"height":666,"unit":"CENTIMETER"}},"product":{"title":"Ralph Lauren Boys Big Pony Oxford Shirt","description":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","aspects":{"Brand":["Ralph Lauren"],"MPN":["Ralph Lauren"],"UPC":["888978794349"]},"imageUrls":[" http://sellerbase.insight-soft.com/media/product/9/0/9079161513712477.jpg","http://sellerbase.insight-soft.com/media/product/3/1/3199341513712479.jpg"]},"sku":"888978794349";} create group of all variation : createOrReplaceInventoryItemGroup api {"title":"Ralph Lauren Boys Big Pony Oxford Shirt","description":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","imageUrls":[" http://sellerbase.insight-soft.com/media/product/1/8/1834681513712471.jpg"],"variantSKUs":["888978186021","888978794349"],"variesBy":{"aspectsImageVariesBy":["Color"],"specifications":[{"name":"Size","values":["S","L"]},{"name":"Color","values":["White";]}]}} create a offer of each varition : createOffer api First Item : {"sku":"888978186021","marketplaceId":"EBAY_US","format":"FIXED_PRICE","categoryId":"67408","merchantLocationKey":"wh1-california","availableQuantity":777,"listingDescription":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","listingPolicies":{"fulfillmentPolicyId":"5674083000","paymentPolicyId":"5674590000","returnPolicyId":"5674841000"},"pricingSummary":{"price":{"currency":"USD","value":"777"}},"quantityLimitPerBuyer":"1"} Second Item : {"sku":"888978794349","marketplaceId":"EBAY_US","format":"FIXED_PRICE","categoryId":"67408","merchantLocationKey":"wh1-california","availableQuantity":888,"listingDescription":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","listingPolicies":{"fulfillmentPolicyId":"5674083000","paymentPolicyId":"5674590000","returnPolicyId":"5674841000"},"pricingSummary":{"price":{"currency":"USD","value":"888"}},"quantityLimitPerBuyer":"1"} publish offer of group item : publishOfferByInventoryItemGroup {"inventoryItemGroupKey":"OF-NE0M-LSWO","marketplaceId":"EBAY_US"} All 1-3 api's is working good but in last call i am getting following error : in first call : { "errors": [{ "errorId": 25013, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "Invalid data in the Inventory Item Group. Missing name in the variation specifics or variation specifics set." }, { "errorId": 25013, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "Invalid data in the Inventory Item Group. Duplicate name-value combination in variation specifics.", "parameters": [{ "name": "0", "value": "1" }] }] } if I trying again the same process : create inventory item with : createOrReplaceInventoryItem api request :same as above for both item create group of all variation : createOrReplaceInventoryItemGroup api request :same as above update a offer of each varition : updateOffer api First Item : {"availableQuantity":777,"categoryId":"67408","listingDescription":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","listingPolicies":{"fulfillmentPolicyId":"5674083000","paymentPolicyId":"5674590000","returnPolicyId":"5674841000"},"pricingSummary":{"price":{"currency":"USD","value":"777"}},"quantityLimitPerBuyer":1} Second Item : {"availableQuantity":888,"categoryId":"67408","listingDescription":"Brand:Ralph Lauren.Composition:100% cotton,exclusive of decoration.Made in Cambodia.","listingPolicies":{"fulfillmentPolicyId":"5674083000","paymentPolicyId":"5674590000","returnPolicyId":"5674841000"},"pricingSummary":{"price":{"currency":"USD","value":"888"}},"quantityLimitPerBuyer":1} publish offer of group item : publishOfferByInventoryItemGroup request :same as above [errorId] => 25002 [domain] => API_INVENTORY [subdomain] => Selling [category] => REQUEST [message] => A user error has occurred. No exists or is specified as an empty tag in the request. [parameters] => Array ( [0] => stdClass Object ( [name] => 0 [value] => Item.Country ) ) Someone tell me whats going wrong in this process
item.countrymissing name in the variation specifics or variation specifics setduplicate name-value combination
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@maxxa1 I don't see color defined in the createOrUpdateInventoryItem... those must be presented when as it's defined in the createOrReplaceInventoryItemGroup
0 Likes 0 · ·
zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi maxxa1, Can you provide the rlogid http response header if you are still running into the error within a week? We will look into it when we have the information. Best Regards,
· 1 · Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Accepting the response due to inactivity on the thread for a several weeks.
0 Likes 0 · ·
mysh-9571 avatar image
0 Likes"
mysh-9571 answered ·
posting to share, so hopefully other will not suffer like i did, where the guide did not really give good example. for his item 1 he need to add into aspect product->aspects->Size = S [since variable color is only white, no other choice , so i use Size as variation example] for item2 (add) product->aspects->Size = L all aspect in item1 and item2 and createinventorygroup need to be the same except variation aspect.. then try publishitemgroup. if you encounter error, try remove product inventory, and recreate inventory again and group publish it all the luck
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.