Interface DeliveryCustomFieldChangedMessagePayload

Generated when an existing Custom Field on a Delivery has been changed using the Set CustomField update action.

interface DeliveryCustomFieldChangedMessagePayload {
    deliveryId: string;
    name: string;
    previousValue?: any;
    type: "DeliveryCustomFieldChanged";
    value: any;
}

Properties

deliveryId: string

Unique identifier of the Delivery.

name: string

Name of the Custom Field that changed.

previousValue?: any

CustomFieldValue based on the FieldType before the Set CustomField update action. When there has not been a Custom Field with the name on the Delivery before, a Delivery Custom Field Added Message is generated instead.

type: "DeliveryCustomFieldChanged"
value: any

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