RE: How can I create inventory for online products?

52 views
Skip to first unread message
Message has been deleted

Shopping API Forum Advisor

unread,
Dec 30, 2022, 10:16:54 AM12/30/22
to nehal...@codup.co, google-content-...@googlegroups.com
Hi Nehal,

I am redacting your post as it contains sensitive information. In the future, please use 'Reply privately to author' option or share the logs to alias shopping-api-support@google.com.

The local inventory service is used for products that are inserted with channel local. ​​​​​​For online products you can use one of the following options:
  1. https://developers.google.com/shopping-content/guides/products/supplemental-feeds
  2. https://developers.google.com/shopping-content/reference/rest/v2.1/products/update
Please refer to the following links for guide, release notes and blog posts for more information:
  1. https://developers.google.com/shopping-content/guides/products/local-inventory#prerequisites
  2. https://developers.google.com/shopping-content/guides/rel-notes#inventory_service
  3. https://ads-developers.googleblog.com/2020/11/sunset-approaching-for-v2-of-content.html
  4. https://ads-developers.googleblog.com/2021/05/partial-product-updates-now-available.html
Also, for the requests if you need to give productId as a parameter, you need to give the value in the following format: 
channel:contentLanguage:feedLabel:offerId
Guide: https://developers.google.com/shopping-content/guides/products/product-id

Refer to the common error documentation under the section [item id] Invalid item id: '<id>' :
https://developers.google.com/shopping-content/guides/how-tos/common-errors#invalid

----------------------------------------------------------------------------------------------------------------------------------
Question: I've a primary feed that has products, and their channel is set to online. I sent a request for inventory through content API and it returning invalid itemID error.

Thanks,

Google Logo
Lakshmi
Content API for Shopping Team
 

 

ref:_00D1U1174p._5004Q2hXrxG:ref
Reply all
Reply to author
Forward
0 new messages