CartSetContactInput
Input for associating a cart with a specific business contact.
Used in B2B scenarios to assign cart ownership to a contact person within a company, enabling proper pricing, permissions, and order processing.
input CartSetContactInput {
contactId: Int!
companyId: Int
}
Fields
CartSetContactInput.contactId
● Int!
non-null scalar
Unique identifier of the contact to associate with the cart.
Must be a valid contact ID representing a person authorized to manage carts within their company.
CartSetContactInput.companyId
● Int
scalar
Company identifier for the contact's organization.
If not provided, the contact's default parent company will be used. Must be a valid company ID that the contact is authorized to represent.
Member Of
cartSetContact
mutation