The representation of a Price Draft for the import purpose.

interface PriceDraftImport {
    channel?: ChannelKeyReference;
    country?: string;
    custom?: Custom;
    customerGroup?: CustomerGroupKeyReference;
    discounted?: DiscountedPrice;
    key: string;
    tiers?: PriceTier[];
    validFrom?: string;
    validUntil?: string;
    value: TypedMoney;
}

Properties

References a channel by key.

country?: string

A two-digit country code as per ISO 3166-1 alpha-2.

custom?: Custom

The custom fields for this category.

References a customer group by key.

discounted?: DiscountedPrice

Sets a discounted price from an external service.

key: string

User-defined unique identifier for the Embedded Price.

tiers?: PriceTier[]

The tiered prices for this price.

validFrom?: string
validUntil?: string
value: TypedMoney