Anchor to MetafieldsSetUserErrorMetafields
objectMetafields Set User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•Metafields
Set User Error Code The error code.
- Anchor to elementIndexelement•Int
Index The index of the array element that's causing the error.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •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
250
values.
Arguments
- Anchor to metafieldsmetafields•[Metafield!]
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.
Fields
Was this section helpful?