cartBuyerIdentityUpdate mutation

Updates customer information associated with a cart.

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
buyerIdentity ( CartBuyerIdentityInput! ) required

The customer associated with the cart.

cartId ( ID! ) required

The ID of the cart.

CartBuyerIdentityInput fields

  • countryCode (CountryCode)

    The country where the buyer is located.

  • customerAccessToken (String)

    The access token used to identify the customer associated with the cart.

  • email (String)

    The email address of the buyer that is interacting with the cart.

  • phone (String)

    The phone number of the buyer that is interacting with the cart.

Return fields

  • cart (Cart)

    The updated cart.

  • userErrors ([CartUserError!]!)

    The list of errors that occurred from executing the mutation.

Updates customer information associated with a cart.

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
buyerIdentity ( CartBuyerIdentityInput! ) required

The customer associated with the cart.

cartId ( ID! ) required

The ID of the cart.

CartBuyerIdentityInput fields

  • countryCode (CountryCode)

    The country where the buyer is located.

  • customerAccessToken (String)

    The access token used to identify the customer associated with the cart.

  • email (String)

    The email address of the buyer that is interacting with the cart.

  • phone (String)

    The phone number of the buyer that is interacting with the cart.

Return fields

  • cart (Cart)

    The updated cart.

  • userErrors ([CartUserError!]!)

    The list of errors that occurred from executing the mutation.