Hi @THa51,
In order to see all values of a property, you can use CRM Properties API as @BérangèreL mentioned. In particular, you can use the GET endpoint and include your property:
https://api.hubapi.com/crm/v3/properties/0-1/advert_source
This will return all of the dropdown options, containing the label and the value.
When trying to add/update a contact record via the API, it is important that the data matches the value (not the label).
So in your case, if your dropdown option looks like this:
{
"label": "Facebook - Week",
"value": "Facebook - Week",
"displayOrder": 1,
"hidden": false
}
But you try to pass “Facebook - WEEK”, then then it would fail and contact record would not be updated/created.
So you would either need to change the data you are passing or update your dropdown option value to match the data you are passing, i.e.:
{
"label": "Facebook - Week",
"value": "Facebook - WEEK",
"displayOrder": 1,
"hidden": false
}
Hope this helps!