The data representation for a Standalone Price to be imported that is persisted as a Standalone Price in the Project.

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

Hierarchy (view full)

Properties

Sets the product distribution Channel for which this Price is valid

country?: string

Sets the country for which this Price is valid.

custom?: Custom

Custom Fields for the StandalonePrice.

Sets the CustomerGroup for which this Price is valid.

discounted?: DiscountedPrice

Sets a discounted price for this Price that is different from the base price with value.

key: string

User-defined unique identifier for the Standalone Price. If a StandalonePrice with this key exists, it will be updated with the imported data.

sku: string

Identifies the ProductVariant to which this Standalone Price is associated. This value is not validated to exist in Product Variants.

tiers?: PriceTier[]

Sets price tiers.

validFrom?: string

Sets the date from which the Price is valid.

validUntil?: string

Sets the date until the Price is valid.

value: TypedMoney

Sets the money value of this Price.