CartStartInput
Input for initializing a new shopping cart session.
Contains optional configuration for cart creation including customer association, language preferences, and business context. Supports both B2B (contact/company) and B2C (customer) scenarios with proper validation to ensure only one customer type is specified.
input CartStartInput {
contactId: Int
customerId: Int
companyId: Int
language: String
shared: CartSharedAccess
attributes: [AttributeBulkCreateInput!]
}
Fields
CartStartInput.contactId ● Int scalar
Business contact identifier for B2B cart sessions.
Associates the cart with a specific business contact person. Must be used in combination with companyId to establish the complete B2B relationship context.
CartStartInput.customerId ● Int scalar
Individual customer identifier for B2C cart sessions.
Associates the cart with an individual customer account for personalized pricing, order history, and customer-specific features. Cannot be used with contactId or companyId.
CartStartInput.companyId ● Int scalar
Company identifier for B2B cart sessions.
Associates the cart with a specific company for B2B pricing, terms, and business rules. Must be used in combination with contactId to identify both the company and the contact person within that company.
CartStartInput.language ● String scalar
Cart language preference for localization.
Two-character ISO 639-1 language code (e.g., 'en', 'nl', 'de') that determines the language for cart content, pricing display, and communication. Affects product names, descriptions, and checkout flow.
CartStartInput.shared ● CartSharedAccess enum
Shared access level for the new cart.
Controls whether other contacts of the same company can access this cart, and what they may do with it. Defaults to NO (owner-private).
CartStartInput.attributes ● [AttributeBulkCreateInput!] list input
Custom attributes for the order, captured on the cart and forwarded to the order on processing.
Member Of
cartStart mutation