question

oyo-j avatar image
0 Likes"
oyo-j asked ·

Inventory API: getOffers and getInventoryItems always return nothing but fulfillment/order is working

HI,

im new to the eBay API and explore the api a little bit.

When i call getOffers or getInventoryItems for a Seller Account who has 100% Items i will always get no results.


The response is always this

{
    "total": 0,
    "size": 0
}

When i call other APIs, for example https://api.ebay.com/sell/fulfillment/v1/order/ ... works like expected.

I also check that i have the scope for the https://api.ebay.com/oauth/api_scope/sell.inventory https://api.ebay.com/oauth/api_scope/sell.account.readonly

I use not the sandbox enrironment (very bad performance!)

What could be wrong? The Seller Account has over 50 Producs/Offers and get every day oders.

Thanks for every help.


Regards

inventory apigetoffersinventory_items
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.

oyo-j avatar image
0 Likes"
oyo-j answered ·

HI @sagar_developersupport,


i use the correct seller token, because i get orders over

https://api.ebay.com/sell/fulfillment/v1/order

and a also succesfully create a inventory item with

https://api.ebay.com/sell/inventory/v1/inventory_item/9999

This new Item (created over the api) was returned

https://api.ebay.com/sell/inventory/v1/inventory_item/9999

But no more other items are returned.

The seller account (has also a Ebay Shop) has offers on EBAY_DE and i use the X-EBAY-C-MARKETPLACE-ID Header.

Is there a trick i get the offers back? I want to change the price over the API but how could i do that when i get nor offers/products?

Other Tools like (www.billbee.io) work correct the the seller account.


*Update*

i read thise sentence

  • Location - A seller must have at least one inventory location set up before that seller can start creating and publishing offers with the Inventory API. Every inventory location must also have a seller-defined merchant location key value.

https://developer.ebay.com/api-docs/sell/static/inventory/managing-inventory-and-offers.html

The Seller account that i use has no location.

https://api.ebay.com/sell/inventory/v1/location

Response with

{
  "locations": []
}

Is a location really necessary? I have no warehouse or use click and collect.

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.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @oyo-j,

Please make sure that you are using seller's token to make getOffers or getInventoryItems calls.

Best Regards
eBay Developer Support

· 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.