Skip to main content
Anchor to CartInputMetafieldInput

CartInputMetafieldInput

input_object

The input fields for a cart metafield value to set.

•String!
non-null

The key name of the metafield.

•String!
non-null

The type of data that the cart metafield stores. The type of data must be a supported type.

•String!
non-null

The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The metafields to associate with this cart.

The input must not contain more than 250 values.


Was this section helpful?