REST API成功响应后,Shopify Metafield延迟更新
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,最多需要5分钟才能反映前侧的元场
Yes it takes Maximum 5 Minutes to reflects Metafields at front side