Skip to main content
Anchor to cartAttributesUpdate

cartAttributesUpdate

mutation

Updates the attributes on a Cart. Attributes are custom key-value pairs that store additional information, such as gift messages, special instructions, or order notes.

•[AttributeInput!]!
required

An array of key-value pairs that contains additional information about the cart.

The input must not contain more than 250 values.

Show input fields
•ID!
required

The ID of the cart.


Was this section helpful?

Anchor to CartAttributesUpdatePayload returnsCartAttributesUpdatePayload returns

•Cart

The updated cart.

Show fields
•[CartUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields
•[CartWarning!]!
non-null

A list of warnings that occurred during the mutation.

Show fields

Was this section helpful?