Skip to main content
Anchor to CartMetafieldsSetPayload

CartMetafieldsSetPayload

payload

Return type for cartMetafieldsSet mutation.

•[Metafield!]

The list of cart metafields that were set.

•[MetafieldsSetUserError!]!
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.


Was this section helpful?