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

    Interface OverlappingPriceValidityError

    Returned when a given Price validity period conflicts with an existing one. Every Price of a Product Variant 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 Product](ctp:api:endpoint:/{projectKey}/products:POST) or [Update Product](/api/projects/products#update-product) request.
    
    interface OverlappingPriceValidityError {
        channel?: ChannelResourceIdentifier;
        code: "OverlappingPriceValidity";
        conflictingPrice: string;
        conflictingValidFrom?: string;
        conflictingValidUntil?: string;
        country?: string;
        currency: string;
        customerGroup?: CustomerGroupResourceIdentifier;
        message: string;
        validFrom?: string;
        validUntil?: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Channel for which the Price is valid.

    code: "OverlappingPriceValidity"

    Error identifier.

    conflictingPrice: string

    Unique identifier of the conflicting Embedded Price.

    conflictingValidFrom?: string

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

    conflictingValidUntil?: string

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

    country?: string

    Country code of the Price.

    currency: string

    Currency code of the Price.

    CustomerGroup for which the Price is valid.

    message: string

    "Two prices have overlapping validity periods."

    validFrom?: string

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

    validUntil?: string

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