latestOpenAPI 3.1.02026-08-1021368.3 KB

50679caad756

Events

Update event

Update an event. Send only the fields you want to change.

Permissions: Requires write access to the site (manage:{site_id}).

Returns: An event object.

post/sites/{site_id}/events/{event_id}

Path parameters

site_idstring required
Example:CDBUGS

The ID of the site. This is the same string you use in your tracking code. Example: CDBUGS

event_idstring required
Example:ABCDEFGH

The id (tracking code) of the event you wish to update. Example: ABCDEFGH

Request body

namestring

The name of the event (up to 255 characters).

currency'dollar' | 'pound' | 'euro' | 'yuan' | 'peso' | 'shekel' | 'yen' | 'won' | 'hryvnia' | 'franc' | 'rupee' | 'integer' | 'none'

The currency used for any value attached to this event's completions.

Example request

{
  "name": "Purchase early access (live)"
}

Response

Successful response