question

schinca2279 avatar image
0 Likes"
schinca2279 asked ·

Inventory API product not found (Sandbox)

I'm testing the Inventory API on Sandbox. I can successfully create an inventory_item, I can create an offer, but when publishing the offer I get an error message saying: "Input error. Seller Inventory Service can not publish the data. Product not found. Please try again or contact customer support.." Am I missing anything? Please find details of the requests below. create inventory_item: PUT /sell/inventory/v1/inventory_item/gopro0003 { "availability": { "shipToLocationAvailability": { "quantity": 50 } }, "condition": "NEW", "product": { "title": "GoPro Hero4 Helmet Cam", "description": "New GoPro Hero4 Helmet Cam. Unopened box.", "aspects": { "Brand": [ "GoPro" ], "Type": [ "Helmet/Action" ], "Storage Type": [ "Removable" ], "Recording Definition": [ "High Definition" ], "Media Format": [ "Flash Drive (SSD)" ], "Optical Zoom": [ "10x" ] }, "imageUrls": [ " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1000.jpg";, " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1001.jpg";, " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1002.jpg"; ] } } Create offer: request: POST https://api.sandbox.ebay.com/sell/inventory/v1/offer { "sku": "gopro0003", "marketplaceId": "EBAY_GB", "format": "FIXED_PRICE", "availableQuantity": 75, "categoryId": "30120", "listingDescription": "Fantastic GO-PRO", "pricingSummary": { "price": { "currency": "GBP", "value": "272.17" } }, "quantityLimitPerBuyer": 2 } response: 201 Created {"offerId":"5424377010"} Publish offer: POST /sell/inventory/v1/offer/5424377010/publish response: 400 Bad Request { "errors": [{ "errorId": 25604, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "Input error. Seller Inventory Service can not publish the data. Product not found. Please try again or contact customer support.." }] } rlogid: t6pitnmsgwj%28ciudbq%60anng%7Fu2h%3F%3Cwk%7Dukqlhqbuo*1423767-15fda741ff8-0x96ad
sandboxinventory api
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.

1 Answer

· Write an Answer
zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi schinca2279, If you are still running into the error, can you share a fresh rlogid? Also, can you check if you are able to access the SKU gopro0003 via getInventoryItem call: https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/gopro0003 Best Regards,
· 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.