REST API成功响应后,Shopify Metafield延迟更新

发布于 2025-01-24 09:02:38 字数 445 浏览 2 评论 0原文

我正在使用Shopify Rest API批量更新产品Metafields,用于不同的产品,并且每个产品都有相同的Metafield名称空间。

foreach($products as $product){
   $metafield = [
      'namespace' => 'app_specific_metafield',
      'key' => 'variable_name'
      'value' => 'value'
   ]; 
}

我根据Shopify Rest Metafield API文档进行更新/创建Metafield。 一切都很好,我可以为每种产品的元场更新获得200。

但是,当刷新产品的荟萃次时,它并未立即显示更改(x之后出现)。 IDK如果有任何时间限制以使更新的元场反映。

I'm updating product metafields in bulk in using shopify rest API, for different products and and every product have same namespace for the metafield.

foreach($products as $product){
   $metafield = [
      'namespace' => 'app_specific_metafield',
      'key' => 'variable_name'
      'value' => 'value'
   ]; 
}

and I update/create the metafield according to Shopify rest metafield API docs.
everything is fine, I get 200 for each product's metafield update.

But when refresh the product's metafield, it didn't show the changes immediately, ( after X number of time it appears ). Idk if there is any time limit to get the updated metafields reflected.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠书 2025-01-31 09:02:38

是的,最多需要5分钟才能反映前侧的元场

Yes it takes Maximum 5 Minutes to reflects Metafields at front side

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文