cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Items created by createOrReplaceInventoryItem are not reflected in active listings

Hello fellow developers,

 

I am using the createOrReplaceInventoryItem API, it returns HTTP Status 204, but can't see any item listed.

API :

GET https://api.ebay.com/sell/inventory/v1/inventory_item/sample_1

 Screenshot of the API and its response as per postman 

 

Listing results are returned as empty, when I search based on the SKU (which is sample_1)

Listing Result

 

Am I creating the object in wrong way? Should I be searching at some other place? Are the items uploaded via RESTful API placed differently, as compared to those uploaded via the Traditional APIs?

 

Any idea or suggestion would be helpful.

Message 1 of 3
latest reply
2 REPLIES 2

Items created by createOrReplaceInventoryItem are not reflected in active listings

did you also create the offer? If not then you first create/update inventory and then create an offer, set the price and stock and few other things and then publish offer.

I have explained it here

https://github.com/CMS365-PTY-LTD/EbaySharp?tab=readme-ov-file#create-a-new-listing 

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 2 of 3
latest reply

Items created by createOrReplaceInventoryItem are not reflected in active listings

Hi @uk7-zbdeju 

 

The basic flow of using the Inventory API to publish an single-variation offer involves the use of the following three calls:

  1. The createOrReplaceInventoryItem call to create the inventory item record;
  2. The createOffer call to add details of the listing, including price, eBay marketplace, eBay category, quantity, and listing polices (payment, fulfillment, and return policy);
  3. The publishOffer call to activate the offer on the eBay marketplace.

 

For more information, see the Selling Integration Guide here

Best Regards,
eBay Developer Support
Message 3 of 3
latest reply