This payload is sent for a ChangeSubscription when a resource is updated. This includes updates by a background process, like a change in product availability.

interface ResourceUpdatedDeliveryPayload {
    modifiedAt: string;
    notificationType: "ResourceUpdated";
    oldVersion: number;
    projectKey: string;
    resource: Reference;
    resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
    version: number;
}

Properties

modifiedAt: string

Date and time (UTC) the resource was last updated.

notificationType: "ResourceUpdated"
oldVersion: number

Version of the resource before the update.

projectKey: string

key of the Project. Useful for processing notifications if the Destination receives them from multiple Projects.

resource: Reference

Reference to the resource that triggered the notification.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-defined unique identifiers of the resource.

version: number

Last seen version of the resource.