Interface ProductPriceCustomFieldChangedMessagePayload

Generated after changing an existing Custom Field on a Price using the Set Price CustomField update action.

interface ProductPriceCustomFieldChangedMessagePayload {
    name: string;
    priceId: string;
    staged: boolean;
    type: "ProductPriceCustomFieldChanged";
    value: any;
    variantId: number;
}

Properties

name: string

Name of the Custom Field that was changed.

priceId: string

Unique identifier of the Price of which the Custom Field was changed.

staged: boolean

Whether the update was only applied to the staged Product Projection.

type: "ProductPriceCustomFieldChanged"
value: any

CustomFieldValue based on the FieldType after the Set Price CustomField update action.

variantId: number

Unique identifier of the ProductVariant to which the Price belongs.