cartNoteUpdate mutation

Updates the note on the cart.

Required access

unauthenticated_write_checkouts access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
cartId ( ID! ) required

The ID of the cart.

note ( String )

The note on the cart.

Return fields

  • cart (Cart)

    The updated cart.

  • userErrors ([CartUserError!]!)

    List of errors that occurred from executing the mutation.