question

prometheus3d avatar image
0 Likes"
prometheus3d asked

Product data missing from several of my items when using the inventory api

I am using a call to the inventory API to get back a list of all of my inventory items. ( https://api.ebay.com/sell/inventory/v1/inventory_item), for 327 out of the 330 items this is the response format: { sku: 'CRY-0085', product: { title: 'Creality 6mm Rubber Y-axis 2GT Open ' + 'Timing Belt Ender 5 Pro 3D Printer UK', aspects: { Brand: [Array], 'Custom Bundle': [Array], 'Modified Item': [Array], 'Manufacturer warranty': [Array], Type: [Array], 'Country/Region of Manufacture': [Array], MPN: [Array], 'Compatible Model': [Array] }, brand: 'Creality 3D', mpn: 'Does Not Apply', ean: [ 'Does not apply' ], imageUrls: [ ' https://i.ebayimg.com/00/s/MTAwMFgxMDAw/z/jiUAAOSwJkFdt46G/$_57.PNG?set_id=8800005007', ' https://i.ebayimg.com/00/s/MTAwMFgxMDAw/z/hRsAAOSwabBdt46I/$_57.PNG?set_id=8800005007', ' https://i.ebayimg.com/00/s/MTAwMFgxMDAw/z/hu4AAOSw-eldt46K/$_57.PNG?set_id=8800005007', ' https://i.ebayimg.com/00/s/MTAwMFgxMDAw/z/RuYAAOSws-xdt46M/$_57.PNG?set_id=8800005007', ' https://i.ebayimg.com/00/s/MTAwMFgxMDAw/z/gSYAAOSw5r9dt46N/$_57.PNG?set_id=8800005007' ] }, condition: 'NEW', packageWeightAndSize: { weight: { value: 0.1, unit: 'KILOGRAM' } }, availability: { pickupAtLocationAvailability: [], shipToLocationAvailability: { quantity: 5 } } } However for 3 out of the 330 items this is the response format: { sku: 'CRY-0056', condition: 'NEW', packageWeightAndSize: { weight: { value: 0.1, unit: 'KILOGRAM' } }, availability: { pickupAtLocationAvailability: [], shipToLocationAvailability: { quantity: 1 } } } As you can see it is not returning any of the product data, however when I make another call to the API with that particular SKU it returns just the data for that 1 inventory item, and it includes the product data as well. It is also failing to return the availability data for 4 items even though the data is present when I make a call with that specific SKU.
inventory apisellinginventoryinventory_itemproductsmissingproductdatanotreturning
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.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered
Hi @ prometheus3d, Could you please provide the environment you are trying to list items using Inventory API? Have you mention all these field in the request body? Best Regards, eBay Developer Support
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.

prometheus3d avatar image
0 Likes"
prometheus3d answered
@eram_developersupport I am using my Production environment, the items were initially listed on the ebay UI and migrated over to the inventory API. The data product data exists because when I make a call with the specific SKU ( https://api.ebay.com/sell/inventory/v1/inventory_item/CRY-0056) it returns the product data correctly no matter what SKU I try. However when I make a call to retreive all items ( https://api.ebay.com/sell/inventory/v1/inventory_item) some of the items are not returned with the product data attached. And this particular call doesn't have a request body.
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.

kristieh-40 avatar image
0 Likes"
kristieh-40 answered

Thank you so much for providing the information mygiftcardsite

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.