Metafield Definition
Define and manage metafield schemas that extend resource objects with custom data.
Metafield definitions describe the schema of metafields attached to a given owner resource, including namespace, key, value type, and validation, so that merchants and apps can store custom data in a consistent, typed way.
Provides endpoints to create, update, get, list, delete metafield definitions, and to count definitions or their associated metafields by owner resource or group.
Create Metafield Definition
Create a new metafield definition.
Metafield Definition List
Retrieve a list of all metafield definitions.
Metafield Definition Detail
Retrieve a metafield definition by its unique identifier.
Metafield Definition Count
Retrieve the count of metafields by definition IDs.
Metafield Definition By Group Count
Retrieve the count of metafield definitions by group.
Update Metafield Definition
Update an existing metafield definition.
Delete Metafield Definition
Delete a metafield definition by its unique identifier.