@gradientedge/commercetools-utils
    Preparing search index...

    Interface OverlappingStandalonePriceValidityError

    Returned when a given Price validity period conflicts with an existing one. Every Standalone Price associated with the same SKU and with the same combination of currency, country, Customer Group, and Channel, must have non-overlapping validity periods (validFrom and validUntil).

    The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
    
    interface OverlappingStandalonePriceValidityError {
        channel?: ChannelResourceIdentifier;
        code: "OverlappingStandalonePriceValidity";
        conflictingStandalonePrice: StandalonePriceReference;
        conflictingValidFrom?: string;
        conflictingValidUntil?: string;
        country?: string;
        currency: string;
        customerGroup?: CustomerGroupResourceIdentifier;
        message: string;
        sku: string;
        validFrom?: string;
        validUntil?: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    Channel for which the Standalone Price is valid.

    code: "OverlappingStandalonePriceValidity"

    Error identifier.

    conflictingStandalonePrice: StandalonePriceReference

    Reference to the conflicting Standalone Price.

    conflictingValidFrom?: string

    Date and time (UTC) from which the conflicting Standalone Price is valid.

    conflictingValidUntil?: string

    Date and time (UTC) until which the conflicting Standalone Price is valid.

    country?: string

    Country code of the geographic location.

    currency: string

    Currency code of the country.

    CustomerGroup for which the Standalone Price is valid.

    message: string

    Two standalone prices have overlapping validity periods."

    sku: string

    SKU of the ProductVariant to which the conflicting Standalone Price is associated.

    validFrom?: string

    Date and time (UTC) from which the Standalone Price is valid.

    validUntil?: string

    Date and time (UTC) until which the Standalone Price is valid.