Version: 202201
Get Metafields Count
GET/openapi/2022-01/:resource/:resource_id/metafields/count
Request
Path Parameters
resource stringrequired
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 stringrequired
The unique ID of the resource that the metafield is attached to.
Responses
- 200
200
- application/json
- Schema
- Example
- Result
Schema
countinteger
Default value:
0Example:
2{
"count": 2
}
{
"count": 2
}