APIs & Integrations

matthewrmettler
Member

Is it possible to edit the version history of a deal or contact?

If I have a deal that has a dealstage history, like so:

    "dealstage": {
        "value": "..."
        "timestamp": 1527709832495,
        "source": "CRM_UI",
        "sourceId": "...",
        "versions": [
            {
                "name": "dealstage",
                "value": "...",
                "timestamp": 1527709832495,
                "sourceId": "..."
                "source": "CRM_UI",
                "sourceVid": []
            },
            {
                "name": "dealstage",
                "value": "...",
                "timestamp": 1527709362250,
                "sourceId": "..."
                "source": "CRM_UI",
                "sourceVid": []
            },
            {
                "name": "dealstage",
                "value": "...",
                "timestamp": 1527709360612,
                "sourceId": "...",
                "source": "CRM_UI",
                "sourceVid": []
            }
        ]

Is it possible to go back and edit the timestamp of say, the 2nd or third one? Or possible delete an incorrect specific version history without deleting the entire deal? I know I can INSERT a specific timestamped history, but I don't know how to delete a specific timestamp history data point.

1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Is it possible to edit the version history of a deal or contact?

Hi @matthewrmettler,

It's not possible to edit the version history of object properties. The version history automatically tracks changes to the property value, and can't be manually edited.

0 Upvotes