Skip to main content
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

Schema
    countinteger
    Default value: 0
    Example: 2