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

    Interface DuplicateStandalonePriceScopeError

    Returned when the given Price scope conflicts with the Price scope of an existing Standalone Price. Every Standalone Price associated with the same SKU must have a distinct combination of currency, country, Customer Group, Channel, and 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 DuplicateStandalonePriceScopeError {
        channel?: ChannelResourceIdentifier;
        code: "DuplicateStandalonePriceScope";
        conflictingStandalonePrice: StandalonePriceReference;
        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: "DuplicateStandalonePriceScope"

    Error identifier.

    conflictingStandalonePrice: StandalonePriceReference

    Reference to the conflicting Standalone Price.

    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

    "Duplicate standalone price scope for SKU: $sku. The combination of SKU, currency, country, customerGroup, channel, validFrom and validUntil must be unique for each standalone price."

    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.