版本:202506
按分组统计元字段定义数量
GET/openapi/2025-06/metafield_definition/group_count
按所属资源分组返回元字段定义的数量。
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
- Array [
shop: 店铺product: 商品product_image: 商品图片product_variant: 商品款式order: 订单page: 自定义页面customer: 顾客collection: 商品专辑blog: 博客article: 文章app: 应用- ]
codestring
错误码
messagestring
错误信息
data object
items object[]
按所属资源分组统计的元字段定义数量列表
countint32
该资源下的元字段定义数量
owner_resourcestring
所属资源类型:
{
"code": "string",
"message": "string",
"data": {
"items": [
{
"count": 0,
"owner_resource": "string"
}
]
}
}