curl --request PUT \
--url https://api.hubapi.com/integrations/v1/{application}-id/timeline/event-types/{event}-type-id/properties
"\nAn example of a valid request to update an existing property could look like the following:\n\n{\n \"id\":3,\n \"name\":\"size\",\n \"propertyType\":\"Enumeration\",\n \"label\":\"Size\"\n}\n\nThe previous JSON will not make any changes to the property options. You can update a property and all its options in an atomic operation passing the options attribute:\n\n{\n \"id\":3,\n \"name\":\"size\",\n \"propertyType\":\"Enumeration\",\n \"label\":\"Size\",\n \"options\":[\n {\n \"value\":\"xlarge\",\n \"label\":\"Extra Large\"\n },\n {\n \"value\":\"large\",\n \"label\":\"Large\"\n },\n {\n \"value\":\"medium\",\n \"label\":\"Medium\"\n },\n {\n \"value\":\"small\",\n \"label\":\"Small\"\n }\n ]\n}"
Update an existing event type. Note: Changes to an event type may take up to an hour to update across new/existing events.
curl --request PUT \
--url https://api.hubapi.com/integrations/v1/{application}-id/timeline/event-types/{event}-type-id/properties
"\nAn example of a valid request to update an existing property could look like the following:\n\n{\n \"id\":3,\n \"name\":\"size\",\n \"propertyType\":\"Enumeration\",\n \"label\":\"Size\"\n}\n\nThe previous JSON will not make any changes to the property options. You can update a property and all its options in an atomic operation passing the options attribute:\n\n{\n \"id\":3,\n \"name\":\"size\",\n \"propertyType\":\"Enumeration\",\n \"label\":\"Size\",\n \"options\":[\n {\n \"value\":\"xlarge\",\n \"label\":\"Extra Large\"\n },\n {\n \"value\":\"large\",\n \"label\":\"Large\"\n },\n {\n \"value\":\"medium\",\n \"label\":\"Medium\"\n },\n {\n \"value\":\"small\",\n \"label\":\"Small\"\n }\n ]\n}"
Successful response - Update an existing event type
The response is of type object
.
Was this page helpful?