interface Quote {
    billingAddress?: Address;
    businessUnit?: BusinessUnitKeyReference;
    buyerComment?: string;
    country?: string;
    createdAt: string;
    createdBy?: CreatedBy;
    custom?: CustomFields;
    customLineItems: CustomLineItem[];
    customer?: CustomerReference;
    customerGroup?: CustomerGroupReference;
    directDiscounts?: DirectDiscount[];
    id: string;
    inventoryMode?: string;
    itemShippingAddresses?: Address[];
    key?: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    lineItems: LineItem[];
    paymentInfo?: PaymentInfo;
    purchaseOrderNumber?: string;
    quoteRequest: QuoteRequestReference;
    quoteState: string;
    sellerComment?: string;
    shippingAddress?: Address;
    shippingInfo?: ShippingInfo;
    shippingRateInput?: ShippingRateInput;
    stagedQuote: StagedQuoteReference;
    state?: StateReference;
    store?: StoreKeyReference;
    taxCalculationMode: string;
    taxMode: string;
    taxRoundingMode: string;
    taxedPrice?: TaxedPrice;
    totalPrice: TypedMoney;
    validTo?: string;
    version: number;
}

Hierarchy

Properties

billingAddress?: Address

Address used for invoicing.

The BusinessUnit for the Quote.

buyerComment?: string

Message from the Buyer included in the renegotiation request.

country?: string

Used for Product Variant price selection.

createdAt: string

Date and time (UTC) the Quote was initially created.

createdBy?: CreatedBy

Present on resources created after 1 February 2019 except for events not tracked.

custom?: CustomFields

Custom Fields on the Quote.

customLineItems: CustomLineItem[]

The Custom Line Items for which the Quote is requested.

The Buyer who requested the Quote.

customerGroup?: CustomerGroupReference

Set automatically when customer is set and the Customer is a member of a Customer Group. Used for Product Variant price selection.

directDiscounts?: DirectDiscount[]

Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

id: string

Unique identifier of the Quote.

inventoryMode?: string

Inventory mode of the Cart referenced in the QuoteRequestDraft.

itemShippingAddresses?: Address[]

Contains addresses for carts with multiple shipping addresses. Line items reference these addresses under their shippingDetails. The addresses captured here are not used to determine eligible shipping methods or the applicable tax rate. Only the cart's shippingAddress is used for this.

key?: string

User-defined unique identifier of the Quote.

lastModifiedAt: string

Date and time (UTC) the Quote was last updated.

lastModifiedBy?: LastModifiedBy

Present on resources created after 1 February 2019 except for events not tracked.

lineItems: LineItem[]

The Line Items for which the Quote is requested.

paymentInfo?: PaymentInfo

Log of payment transactions related to the Quote.

purchaseOrderNumber?: string

The Purchase Order Number is typically set by the Buyer on a QuoteRequest to track the purchase order during the quote and order flow.

quoteRequest: QuoteRequestReference

Quote Request related to the Quote.

quoteState: string

Predefined states tracking the status of the Quote.

sellerComment?: string

Message from the Seller included in the offer.

shippingAddress?: Address

Used to determine the eligible ShippingMethods and rates as well as the tax rate of the Line Items.

shippingInfo?: ShippingInfo

Set automatically once the ShippingMethod is set.

shippingRateInput?: ShippingRateInput

Used to select a ShippingRatePriceTier.

Staged Quote related to the Quote.

State of the Quote. This reference can point to a State in a custom workflow.

The Store to which the Buyer belongs.

taxCalculationMode: string

When calculating taxes for taxedPrice, the selected mode is used for calculating the price with LineItemLevel (horizontally) or UnitPriceLevel (vertically) calculation mode.

taxMode: string

Tax mode of the Cart referenced in the QuoteRequestDraft.

taxRoundingMode: string

When calculating taxes for taxedPrice, the selected mode is used for rounding.

taxedPrice?: TaxedPrice

Not set until the shipping address is set. Will be set automatically in the Platform TaxMode. For the External tax mode it will be set as soon as the external tax rates for all line items, custom line items, and shipping in the cart are set.

totalPrice: TypedMoney

Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

validTo?: string

Expiration date for the Quote.

version: number

Current version of the Quote.

Generated using TypeDoc