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

    Interface GraphQLDuplicateStandalonePriceScopeError

    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 GraphQLDuplicateStandalonePriceScopeError {
        channel?: ChannelResourceIdentifier;
        code: "DuplicateStandalonePriceScope";
        conflictingStandalonePrice: StandalonePriceReference;
        country?: string;
        currency: string;
        customerGroup?: CustomerGroupResourceIdentifier;
        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"

    One of the error codes that is listed on the Errors page.

    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.

    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.