Skip to main content

CreateQuoteInput

Input for createQuote. A quote is opened with the customer it is prepared for and the sales channel it is sold through; every other field on the quote is derived from those two.

input CreateQuoteInput {
customerId: ID!
salesChannelId: ID!
}

Fields​

CreateQuoteInput.customerId ● ID! non-null scalar​

ID of the customer the quote is prepared for. Must be an existing customer account — quotes have no guest equivalent. Use createCustomer when the customer does not exist yet.

CreateQuoteInput.salesChannelId ● ID! non-null scalar​

ID of the sales channel the quote is sold through. Determines the currency and its rounding, the tax handling, and the shipping and payment method the quote starts with.

Member Of​

createQuote mutation