Change triggered by the following update actions:

- [Set LineItem CustomField](ctp:api:type:OrderSetLineItemCustomFieldAction) on Orders.
- [Set LineItem CustomField](ctp:api:type:StagedOrderSetLineItemCustomFieldAction) on Staged Orders.
interface SetOrderLineItemCustomFieldChange {
    change: string;
    customTypeId: string;
    lineItem: LocalizedString;
    name: string;
    nextValue: any;
    previousValue: any;
    type: "SetOrderLineItemCustomFieldChange";
    variant: string;
}

Properties

change: string
customTypeId: string

id of the referenced Type.

lineItem: LocalizedString

Name of the Product the Line Item is based on.

name: string

Name of the Custom Field.

nextValue: any

Value after the change.

previousValue: any

Value before the change.

type: "SetOrderLineItemCustomFieldChange"
variant: string

sku or key of the ProductVariant.