Events
Update Event
Updates the description or property schema of an existing event definition. The eventName itself cannot be changed.
PATCH
Updates the
description and/or properties schema of an existing event definition. The eventName itself cannot be changed — to rename, create a new event and delete the old one.Authorizations
Project API key header of the form Bearer
AS_<key>.Path Parameters
Name of the event to update.Example:
"order_completed"Body
At least one ofdescription or properties must be provided.
New human-readable description for the event.
Replacement property schema. Up to 50 properties per event. See Create Event for the property object shape.
Response
Event updated successfullyExample:
trueThe updated event definition.
Error Responses
Returned when neither
description nor properties is provided.