v1

latestSwagger 2.02026-07-17148179252.3 KB
Catalog

Gets a Metafield object list, by product_id.

get/catalog/products/{product_id}/metafields

Query parameters

pageinteger

Specifies the page number in a limited (paginated) list of products.

limitinteger

Controls the number of items per page in a limited (paginated) list of products.

keystring

Filter based on a metafield's key.

namespacestring

Filter based on a metafield's key.

include_fieldsstring

Fields to include, in a comma-separated list. The ID and the specified fields will be returned.

exclude_fieldsstring

Fields to exclude, in a comma-separated list. The specified fields will be excluded from a response. The ID cannot be excluded.

Response

An array of metafields and metadata.