Interface ProductSetProductPriceCustomFieldAction

interface ProductSetProductPriceCustomFieldAction {
    action: "setProductPriceCustomField";
    name: string;
    priceId: string;
    staged?: boolean;
    value?: any;
}

Properties

action: "setProductPriceCustomField"
name: string

Name of the Custom Field.

priceId: string

The id of the Embedded Price to update.

staged?: boolean

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

value?: any

If value is absent or null, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value is provided, it is set for the field defined by name.

Generated using TypeDoc