interface CustomLineItemDraft {
    discountedPricePerQuantity?: DiscountedLineItemPriceDraft[];
    externalTaxRate?: ExternalTaxRateDraft;
    money: TypedMoney;
    name: LocalizedString;
    quantity: number;
    shippingDetails?: ItemShippingDetailsDraft;
    slug: string;
    state?: ItemState[];
    taxCategory?: TaxCategoryKeyReference;
    taxRate?: TaxRate;
    taxedPrice?: CustomLineItemTaxedPrice;
    totalPrice: TypedMoney;
}

Properties

discountedPricePerQuantity?: DiscountedLineItemPriceDraft[]
externalTaxRate?: ExternalTaxRateDraft
money: TypedMoney

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language. json { "de": "Hundefutter", "en": "dog food" }

quantity: number
shippingDetails?: ItemShippingDetailsDraft
slug: string
state?: ItemState[]

References a tax category by key.

taxRate?: TaxRate
totalPrice: TypedMoney