Updating the validUntil value generates the StandalonePriceValidUntilSet Message.

As the validity dates are part of the price scope and are not allowed to overlap, this update might return the [DuplicateStandalonePriceScope](ctp:api:type:DuplicateStandalonePriceScopeError) and [OverlappingStandalonePriceValidity](ctp:api:type:OverlappingStandalonePriceValidityError) errors, respectively. A Price without validity period does not conflict with a Price defined for a time period.
interface StandalonePriceSetValidUntilAction {
    action: "setValidUntil";
    validUntil?: string;
}

Properties

Properties

action: "setValidUntil"
validUntil?: string

Value to set. If empty, any existing value is removed.