interface QuoteRequest {
    billingAddress?: Address;
    businessUnit?: BusinessUnitKeyReference;
    comment?: 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;
    quoteRequestState: string;
    shippingAddress?: Address;
    shippingInfo?: ShippingInfo;
    shippingRateInput?: ShippingRateInput;
    state?: StateReference;
    store?: StoreKeyReference;
    taxCalculationMode: string;
    taxMode: string;
    taxRoundingMode: string;
    taxedPrice?: TaxedPrice;
    totalPrice: TypedMoney;
    version: number;
}

Hierarchy

Properties

billingAddress?: Address

Address used for invoicing.

The BusinessUnit for the Quote Request.

comment?: string

Message from the Buyer included in the Quote Request.

country?: string

Used for Product Variant price selection.

createdAt: string

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

createdBy?: CreatedBy

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

custom?: CustomFields

Custom Fields of the Quote Request.

customLineItems: CustomLineItem[]

The Custom Line Items for which a Quote is requested.

The Buyer who raised the request.

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 QuoteRequest.

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 QuoteRequest.

lastModifiedAt: string

Date and time (UTC) the QuoteRequest 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 a Quote is requested.

paymentInfo?: PaymentInfo

Log of payment transactions related to the Quote.

purchaseOrderNumber?: string

Identifier for a purchase order, usually in a B2B context. The Purchase Order Number is typically entered by the Buyer.

quoteRequestState: string

Indicates the current state of the Quote Request in the negotiation process.

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.

State of the Quote Request. 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.

version: number

Current version of the QuoteRequest.

Generated using TypeDoc