Interface ProductPriceCustomFieldAddedMessagePayload

Generated after adding a Custom Field to a Price using the Set Price CustomField update action.

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

Properties

name: string

Name of the Custom Field that was added.

priceId: string

Unique identifier of the Price to which the Custom Field was added.

staged: boolean

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

type: "ProductPriceCustomFieldAdded"
value: any

The added CustomFieldValue based on the FieldType.

variantId: number

Unique identifier of the ProductVariant to which the Price belongs.