Hey, I’m trying to implement a webhook for the deal’s property change but I’ve noticed sometimes the payload sends the propertyValue with a description and sometimes with a ID. For example, when I change dealstage to closedwon sometimes it sends like this:
Hi, @KRisso To confirm, this is the expected behaviour. Internal names for custom deal stages are automatically generated numerical values. Where you see human-readable text, this is from default pipelines and deal stages. The stages returning alphanumeric values are custom stages. There is not a way to prevent this behaviour.
If you need to correlate the internal values to their matching labels, please see this note:
Please note: you must use the internal ID of a deal stage or pipeline when creating a deal via the API. The internal ID will also be returned when you retrieve deals via the API. You can find a deal stage’s or pipeline’s internal ID in your deal pipeline settings.
Hi @Jaycee_Lewis , thank you for your answer. I get it, but my question is because the same stage some times is sent as a numeric value and sometimes as a human-readable text.
on the example above, the internal ID 16265647 is the default deal stage closedwon. So I’m wondering what could cause that.