latestOpenAPI 3.1.02026-08-233001841.3 MB

0dcf3303e9d7

activities.opportunity_status_changes

Create a new OpportunityStatusChange activity

Creating an opportunity status change does not change the opportunity's status. It only logs the status change event. This should only be used to import historical status changes from another system.

post/activity/status_change/opportunity/

Response

Successful response

_typestring required
activity_atstring date-time nullable required
contact_idstring nullable required
created_bystring nullable required
created_by_namestring nullable
date_createdstring date-time required
date_updatedstring date-time required
idstring required
lead_idstring nullable required
new_pipeline_idstring
new_pipeline_namestring
new_status_idstring required
new_status_labelstring
new_status_type'won' | 'lost' | 'active'
old_pipeline_idstring
old_pipeline_namestring
old_status_idstring required
old_status_labelstring
old_status_type'won' | 'lost' | 'active'
opportunity_confidenceinteger nullable
opportunity_date_wonstring date-time nullable
opportunity_idstring nullable required
opportunity_valueinteger nullable
opportunity_value_currencystring nullable
opportunity_value_formattedstring nullable
opportunity_value_period'one_time' | 'monthly' | 'annual'
organization_idstring required
updated_bystring nullable required
updated_by_namestring nullable
user_idstring nullable required
user_namestring nullable
usersstring[] required