为什么我无法通过 API 在 BigCommerce 上获取数据product_option_id
本文关键字:获取 数据 product option BigCommerce id API 为什么 | 更新日期: 2023-09-27 18:37:11
我创建了一个选项集ID成功的产品。之后,我为它创建了ProductSkus,我看到了选项:{"product_option_id": int, "option_value_id":int}
。什么是product_option_id
?如何通过 API 获取它?
产品
选项的开发人员门户资源页面
对于使用基本身份验证列出所有产品选项 ID:GET /api/v2/products/{product_id}/options
要使用 OAuth 列出所有产品选项 ID:GET /stores/{store_hash}/v2/products/{product_id}/options
特定产品选项 ID 基本身份验证:GET /api/v2/products/{product_id}/options/{id}
特定产品选项 ID 密钥:GET /stores/{store_hash}/v2/products/{product_id}/options/{id}