Typescript SDK Type Docs
    Preparing search index...

    Interface PriceDraftImport

    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;
    }
    Index

    Properties

    Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    country?: string

    Set this field if this Price is only valid for the specified country.

    custom?: Custom

    Custom Fields for the Embedded Price.

    Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    discounted?: DiscountedPrice

    Set this field to add a DiscountedPrice from an external service.

    key: string

    User-defined unique identifier for the Embedded Price.

    tiers?: PriceTier[]

    The tiered prices for this price.

    validFrom?: string

    Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

    validUntil?: string

    Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

    value: TypedMoney

    Money value of this Price.