Skip to main content
Anchor to CartBuyerIdentityUpdatePayload

CartBuyerIdentityUpdatePayload

payload

Return type for cartBuyerIdentityUpdate mutation.

•Cart

The updated cart.

•[CartUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[CartWarning!]!
non-null

A list of warnings that occurred during the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates the buyer identity on a Cart, including contact information, location, and checkout preferences. The buyer's country determines international pricing and should match their shipping address.

Use this mutation to associate a logged-in customer via access token, set a B2B company location, or configure checkout preferences like delivery method. Preferences prefill checkout fields but don't sync back to the cart if overwritten at checkout.

Arguments

•ID!
required

The ID of the cart.

•CartBuyerIdentityInput!
required

The customer associated with the cart. Used to determine international pricing. Buyer identity should match the customer's shipping address.



Was this section helpful?