Please note that all Metafield Definitions you create through our metafields resource will have the access type of MERCHANT_READ_WRITE. For more information, visit this link. Make sure that your integration has the read_content and write_content access scopes to be able to create Metafield Definitions. ## Properties | Properties | Description | | --- | --- | | name | The human-readable name for the metafield definition. | | namespace | The container for a group of metafields that the metafield definition will be associated with. Must be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters. | | key | The unique identifier for the metafield definition within its namespace. Must be 3-64 characters long and only contain alphanumeric, hyphen, and underscore characters. | | description | The description for the metafield definition. | | type | The type of data that each of the metafields that belong to the metafield definition will store. Refer to the list of supported types. | | ownerType | The resource type that the metafield definition is attached to. |
Language
Credentials
Header
Click Try It! to start a request and see the response here!