通过BigCommerce API访问Google购物字段
我正在与第三方零件供应商创建自定义集成,以在BigCommerce的库存中创建产品.我需要能够为导入的产品打开Google购物,并添加MPN和类别,但是我看不到如何在API中进行修改.如果有人有任何反馈意见,请告诉我!
I am creating a custom integration with a third party part supplier to create products in their inventory in BigCommerce. I Need the ability to turn on google shopping for the products imported and add the MPN and category, but i don't see how to modify this in the API. If anyone has any feedback please let me know!
因此,在联系BigCommerce讨论此问题之后.该API无权访问Google购物字段.笨蛋但是,作为解决方法,您可以生成仅包含产品ID和这个不错的教程.请按照指南中的其余步骤查找"google购物"标签的字段(它们都以GPS开头),然后将值添加到csv中.
So, after contacting BigCommerce about this issue. The API does not have access to the Google shopping fields. Bummer. However as a workaround you can generate an import file with just product ids and the required fields listed in this nice tutorial. Follow the remaining steps in the guide to find the fields for the google shopping tab (they all start with GPS) and then add your values to a csv.
当通过api添加新产品时,我的脚本实际上将生成csv,并将其发送到客户端进行上传.当库存项目不经常更改时,这并不太麻烦.
My script will actually generate the csv when a new product is added via the api, and send it to the client for upload. Which isn't too much of a hassle when inventory items do not change frequently.