Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.


The date and time when the storefront metafield was created.

The description of a metafield.

A globally-unique ID.

The unique identifier for the metafield within its namespace.

The container for a group of metafields that the metafield is associated with.

The type of resource that the metafield is attached to.

Returns a reference object if the metafield's type is a resource reference.

A list of reference objects if the metafield's type is a resource reference list.

The type name of the metafield. Refer to the list of supported types.

The date and time when the metafield was last updated.

The data stored in the metafield. Always stored as a string, regardless of the metafield's type.


Was this section helpful?
Map

Fields from

Metafield


Sets cart metafield values. Cart metafield values will be set regardless if they were previously created or not.

Allows a maximum of 25 cart metafields to be set at a time.


Was this section helpful?
<~>
Metafield Mutations
Metafield



Was this section helpful?
||-
Metafield Implements
Metafield

Implements