APIs & Integrations

udita_jain
Member

Update Contact API - Not Able To Set Lifecycle Of Previous Stage

SOLVE

I am using the HubSpot API to create & update contacts in HubSpot. I want to update the "Lifecycle" from "Customer" to "Marketing qualified lead". Please suggest how can I update this using the HubSpot API.

0 Upvotes
1 Accepted solution
cbarley
Solution
HubSpot Alumni
HubSpot Alumni

Update Contact API - Not Able To Set Lifecycle Of Previous Stage

SOLVE

hi @udita.jain, If you're updating a contact's lifecycle stage via this endpoint, you'll need to clear the property first. This is only specific to lifecycle stage, as it's inherently not supposed to be set backward. Please see the second yellow section in the docs linked above:

Please Note The Lifecycle stage is not designed to move backwards.
If you need to set this property to a previous stage, you will first need to 
set the value to "" (an empty string) and then set the new Stage

View solution in original post

0 Upvotes
1 Reply 1
cbarley
Solution
HubSpot Alumni
HubSpot Alumni

Update Contact API - Not Able To Set Lifecycle Of Previous Stage

SOLVE

hi @udita.jain, If you're updating a contact's lifecycle stage via this endpoint, you'll need to clear the property first. This is only specific to lifecycle stage, as it's inherently not supposed to be set backward. Please see the second yellow section in the docs linked above:

Please Note The Lifecycle stage is not designed to move backwards.
If you need to set this property to a previous stage, you will first need to 
set the value to "" (an empty string) and then set the new Stage
0 Upvotes