Home > @vsf-enterprise/commercetools-types > CartDraft

# CartDraft type

Signature:

export declare type CartDraft = {
    currency: Scalars['Currency'];
    country?: InputMaybe<Scalars['Country']>;
    inventoryMode?: InputMaybe<InventoryMode>;
    custom?: InputMaybe<CustomFieldsDraft>;
    customerEmail?: InputMaybe<Scalars['String']>;
    shippingAddress?: InputMaybe<AddressInput>;
    billingAddress?: InputMaybe<AddressInput>;
    shippingMethod?: InputMaybe<ResourceIdentifierInput>;
    taxMode?: InputMaybe<TaxMode>;
    locale?: InputMaybe<Scalars['Locale']>;
    deleteDaysAfterLastModification?: InputMaybe<Scalars['Int']>;
    itemShippingAddresses?: InputMaybe<Array<AddressInput>>;
    discountCodes?: InputMaybe<Array<Scalars['String']>>;
    store?: InputMaybe<ResourceIdentifierInput>;
    key?: InputMaybe<Scalars['String']>;
    lineItems?: InputMaybe<Array<LineItemDraft>>;
    customLineItems?: InputMaybe<Array<CustomLineItemDraft>>;
    customerId?: InputMaybe<Scalars['String']>;
    externalTaxRateForShippingMethod?: InputMaybe<ExternalTaxRateDraft>;
    anonymousId?: InputMaybe<Scalars['String']>;
    taxRoundingMode?: InputMaybe<RoundingMode>;
    taxCalculationMode?: InputMaybe<TaxCalculationMode>;
    customerGroup?: InputMaybe<ResourceIdentifierInput>;
    shippingRateInput?: InputMaybe<ShippingRateInputDraft>;
    origin?: InputMaybe<CartOrigin>;
};

References: Scalars, InputMaybe, InventoryMode, CustomFieldsDraft, AddressInput, ResourceIdentifierInput, TaxMode, LineItemDraft, CustomLineItemDraft, ExternalTaxRateDraft, RoundingMode, TaxCalculationMode, ShippingRateInputDraft, CartOrigin