【发布时间】:2014-08-31 09:35:18
【问题描述】:
我想使用来自here 的 Bigcommerce API。
我需要一个自定义字段,所以我将使用
GET /stores/{store_hash}/v2/products/{product_id}/custom_fields/{id}.
在哪里可以找到 {store_hash} 值?
【问题讨论】:
标签: api custom-fields bigcommerce
我想使用来自here 的 Bigcommerce API。
我需要一个自定义字段,所以我将使用
GET /stores/{store_hash}/v2/products/{product_id}/custom_fields/{id}.
在哪里可以找到 {store_hash} 值?
【问题讨论】:
标签: api custom-fields bigcommerce
转到高级设置 -> Api 帐户然后点击创建 API 帐户,你会找到它在 API PATH 字段中 `https://api.bigcommerce.com/stores/{{store-hash}}/v3/
【讨论】:
Bigcommerce 商店哈希值也可以从您的临时 URL 派生。例如,如果您的临时 URL 是 http://store-xxxxxxxxx.mybigcommerce.com/,那么您的 store_hash 值就是 xxxxxxxxx。 bigcommerce
【讨论】:
如果一切都失败了,那么你可以在页面源中找到它,例如:
查看源代码:https://xxxxxxxx.mybigcommerce.com/manage/settings/auth/api-accounts
其中 xxxxxxxx 是您商店的 URL 前缀。
从页面源中搜索“store_hash”或“storeHash”
【讨论】:
在这里我找到了我的答案:https://developer.bigcommerce.com/api/legacy/basic-auth
启用 API 访问 => 您登录并在返回的 json 中找到 store_auth
【讨论】: