版本:202607
查询元字段数量
GET/openapi/2026-07/metafields/:owner_resource/:owner_id/count
返回指定资源的元字段数量。
请求
Path参数
shop: 店铺product: 商品product_image: 商品图片product_variant: 商品款式order: 订单page: 自定义页面customer: 顾客collection: 商品专辑blog: 博客article: 文章app: 应用
owner_resource string必填
所属资源类型:
owner_id string必填
所属资源的 ID
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
total_countint32
元字段总数
{
"code": "string",
"message": "string",
"data": {
"total_count": 0
}
}