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](/../api/projects/standalone-prices#create-standaloneprice) 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;
}

Indexable

[key: string]: any

Properties

Channel for which the Standalone Price is valid.

code: "DuplicateStandalonePriceScope"
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.

Generated using TypeDoc