question

xinzh_2198 avatar image
0 Likes"
xinzh_2198 asked

How to get items' offerId in batch

Hello,

I want to modify the price of items, I try to call the updateOffer API, but this API can only modify one item. Is there an API for batch modification of offer?

I don't know the offerId of some items that have been created or are not created through our ERP. It is said in the document that you can use getOffers API to get offerId according to SKU, but only one SKU can be searched. This is a bit inefficient. Is there an API for batch acquisition, or can I get the offerId of all products under an item group?

Thanks.

offer
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 @xinzh_2198,

The bulkUpdatePriceQuantity call is used to update the total ship-to-home quantity of an Inventory Item and/or to update the price and/or quantity of that same inventory item in an actual live offer (aka active eBay listing).

Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/bulkUpdatePriceQuantity

To see the flow of converting inventory item record to eBay marketplace offer, Please go through the link given below:

Ref: https://developer.ebay.com/api-docs/sell/static/inventory/inventory-item-to-offer.html

The getOffer call should be used to retrieve all of the details of a specific offer. The offerId value is passed in at the end of getOffer call URI. The getOffers call will retrieve all offers associated with a specific SKU value.

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

Best regards ,
eBay Developer Support

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

Hello,

However, the bulkUpdatePriceQuantity API can only update one SKU. My requirement is to update multiple SKUs in batch.

The getOffers API is also the same. Is there any interface that can operate SKU in batches?

Thanks.

0 Likes 0 ·
sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered

Hi @xinzh_2198 ,

You can update more more than one SKU and associate offers with the bulkUpdatePriceQuantity call. Please see the example by going through the link give below:
Ref:https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/bulkUpdatePriceQuantity#h2-samples

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.

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.