Readonly
dataOptional
Readonly
datarefThe URI from which the message can be retrieved if messages are enabled. Only set for MessageSubscriptions.
Readonly
idUnique identifier of the event.
Optional
Readonly
sequenceCorresponds to the sequenceNumber
of a MessageSubscription. Can be used to process messages in the correct order.
Optional
Readonly
sequencetype"Integer"
Readonly
sourceThe default REST URI of the ReferenceTypeId that triggered this event, including the project key.
Readonly
specversionThe version of the CloudEvents specification which the event uses.
Readonly
subjectUnique identifier of the resource that triggered the event.
Readonly
timeCorresponds to the lastModifiedAt
of the resource at the time the event was triggered.
Readonly
typeThe type
is namespaced with com.commercetools
, followed by the ReferenceTypeId, the type of Subscription (either message
or change
), and the message or change type.
For example, com.commercetools.product.message.ProductPublished
or com.commercetools.order.change.ResourceCreated
.
The CloudEventsFormat represents event data in a way that conforms to a common specification. The message payload can be found inside the
data
field.