Anchor to cartMetafieldsSetcart
cart Metafields Set
mutation
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.
Anchor to Arguments
Arguments
- Anchor to metafieldsmetafields•[Cart
Metafields Set Input!]!required The list of Cart metafield values to set. Maximum of 25.
The input must not contain more than
250
values.
Was this section helpful?
- Anchor to metafieldsmetafields•
The list of cart metafields that were set.
- Anchor to userErrorsuser•
Errors [MetafieldsSet User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?