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

    Interface ProductSetPriceKeyAction

    Sets the key of an Embedded Price. Produces the ProductPriceKeySet Message.

    interface ProductSetPriceKeyAction {
        action: "setPriceKey";
        key?: string;
        priceId: string;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setPriceKey"
    key?: string

    Value to set. If empty, any existing value will be removed.

    priceId: string

    The id of the Price to set the key.

    staged?: boolean

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.