Typescript SDK Type Docs
    Preparing search index...

    Interface StandalonePriceImport

    Represents the data used to import a StandalonePrice. Once imported, this data is persisted as a StandalonePrice) 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 Summary)

    Index

    Properties

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    This value cannot be updated. Attempting to update this value will result in an [InvalidFieldsUpdate](/import-export/error#invalidfieldsupdateerror) error.
    
    country?: string

    Maps to StandalonePrice.country. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    custom?: Custom

    Maps to StandalonePrice.custom.

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    This value cannot be updated. Attempting to update this value will result in an [InvalidFieldsUpdate](/import-export/error#invalidfieldsupdateerror) error.
    
    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 StandalonePrice. If a StandalonePrice) with this key exists, it is updated with the imported data.

    sku: string

    Maps to StandalonePrice.sku. This value is not validated to exist in Product Variants.

    tiers?: PriceTier[]

    Maps to StandalonePrice.tiers.

    validFrom?: string

    Maps to StandalonePrice.validFrom.

    validUntil?: string

    Maps to StandalonePrice.validUntil.

    value: TypedMoney

    Maps to StandalonePrice.value.