我想使用here的Bigcommerce API。
我需要一个自定义字段,所以我会使用
GET /stores/{store_hash}/v2/products/{product_id}/custom_fields/{id}
。
我在哪里可以找到{store_hash}
值?
Bigcommerce商店哈希值也可以从您的临时URL派生。例如,如果您的临时URL是http://store-xxxxxxxxx.mybigcommerce.com/,那么您的store_hash值是xxxxxxxxx。 bigcommerce
转到高级设置 - > Api帐户,然后单击创建API帐户,您将在API PATH字段中找到它`https://api.bigcommerce.com/stores/ {{store-hash}} / v3 /
在这里,我找到了答案:https://developer.bigcommerce.com/api/legacy/basic-auth
启用API访问=>您登录并在返回的json中找到store_auth