【发布时间】:2020-07-08 15:30:04
【问题描述】:
我使用此代码提交了 BigCommerce 类别更新:
curl -X PUT -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Client: <auth client>" -H "X-Auth-Token: <auth token>" -H "X-Custom-Auth-Header: <custom auth header>" -d '{\"data\":{\"id\":2876,\"parent_id\":30,\"name\":\"Health, Fitness & Recreation\",\"description\":\"\",\"views\":0,\"sort_order\":2620,\"page_title\":\"\",\"meta_keywords\":[\"\"],\"meta_description\":\"\",\"layout_file\":\"category.html\",\"image_url\":\"https://catalog.progressivepii.com/Images/eItems/237834_Full.jpg\",\"is_visible\":true,\"search_keywords\":\"\",\"default_product_sort\":\"use_store_settings\",\"custom_url\":{\"url\":\"/furniture-furnishings/health-fitness-recreation/\",\"is_customized\":false}},\"meta\":{}}' "https://api.bigcommerce.com/stores/t4yqg98af9/v3/catalog/categories/2876"
我在通话中没有遇到任何错误。它返回 JSON 响应。但是,响应是 old 值,并没有反映我的更改。这是怎么回事?它应该返回错误或更新我的更改。
兰迪·坎彭 Intellex公司
【问题讨论】:
标签: bigcommerce