版本:202201
查询元字段s 数量
GET/openapi/2022-01/:resource/:resource_id/metafields/count
请求
Path参数
resource string必填
The type of resource that the metafield is attached to. Available resources: shop, product, product_image, product_variant, order, page, customer, collection, blog, article.
resource_id string必填
The unique ID of the resource that the metafield is attached to.
响应
- 200
200
- application/json
- 数据结构
- 示例
- Result
数据结构
countinteger
默认值:
0示例:
2{
"count": 2
}
{
"count": 2
}