Interface ProductPriceCustomFieldsSetMessagePayload

Generated after a successful Set Price Custom Type update action.

interface ProductPriceCustomFieldsSetMessagePayload {
    customField: CustomFields;
    oldTypeId?: string;
    priceId: string;
    staged: boolean;
    type: "ProductPriceCustomFieldsSet";
    variantId: number;
}

Properties

customField: CustomFields

Custom Fields that were set.

oldTypeId?: string

id of the previous Custom Type. Absent if there was no previous Custom Type present.

priceId: string

Unique identifier of the Price on which the Custom Type was set.

staged: boolean

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

type: "ProductPriceCustomFieldsSet"
variantId: number

Unique identifier of the ProductVariant to which the Price belongs.