Skip to main content

CartSetCustomerInput

Input for associating a cart with an individual customer.

Used in B2C scenarios to assign cart ownership to a specific customer account, enabling personalized pricing, order history, and customer-specific features.

input CartSetCustomerInput {
customerId: Int!
}

Fields

CartSetCustomerInput.customerId ● Int! non-null scalar

Unique identifier of the customer to associate with the cart.

Must be a valid customer ID representing an individual customer account in the system.

Member Of

cartSetCustomer mutation