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 in message processing if the Destination receives events from multiple Projects.

resource: Reference

Reference to the resource that triggered the message.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-defined unique identifiers of the resource.

version: number

Last seen version of the resource.

Generated using TypeDoc