Anchor to CartMetafieldsSetPayloadCart
payloadCart Metafields Set Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to metafieldsmetafields•[Metafield!]Token access required
The list of cart metafields that were set.
- Anchor to userErrorsuser•[Metafields
Errors Set User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •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 metafieldsmetafields•[Cart
Metafields Set Input!]! required The list of Cart metafield values to set. Maximum of 25.
The input must not contain more than
250values.
Arguments
Was this section helpful?