APIs & Integrations

TIntegrations1
Member

Dynamic DropDown field

SOLVE

When adding an additional Properties  in CRM whose 
field type would be Dropdown is there a way to add the dropdown values from the third party API like 
When we click on the DropDown the options provided should be 
the data that is provided by the third party API
Is it Possible to do that with the help of API

0 Upvotes
1 Accepted solution
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Dynamic DropDown field

SOLVE

Hi @TIntegrations1,

 

You could utilize the Properties API, specifically the Update property endpoint

 

In the body, you would just pass in the options you want to have for that Dropdown property:

 

{"options": 
    [
        {
            "label": "Option 1",
            "value": "option_1",
            "displayOrder": 0,
            "hidden": false
        },
        {
            "label": "Option 2",
            "value": "option_2",
            "displayOrder": 1,
            "hidden": false
        },
         {
            "label": "Another Option",
            "value": "option_3",
            "displayOrder": 2,
            "hidden": false
        }
    ]
}

 

This would not pull automatically when a user clicks the dropdown in the CRM, so if that is the use case, the API call should be made on a schedule or possibly utilizing webhooks.

 

Hope this helps!

✔️ Did this post help answer your query? Help the community by marking it as a solution.

View solution in original post

0 Upvotes
1 Reply 1
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Dynamic DropDown field

SOLVE

Hi @TIntegrations1,

 

You could utilize the Properties API, specifically the Update property endpoint

 

In the body, you would just pass in the options you want to have for that Dropdown property:

 

{"options": 
    [
        {
            "label": "Option 1",
            "value": "option_1",
            "displayOrder": 0,
            "hidden": false
        },
        {
            "label": "Option 2",
            "value": "option_2",
            "displayOrder": 1,
            "hidden": false
        },
         {
            "label": "Another Option",
            "value": "option_3",
            "displayOrder": 2,
            "hidden": false
        }
    ]
}

 

This would not pull automatically when a user clicks the dropdown in the CRM, so if that is the use case, the API call should be made on a schedule or possibly utilizing webhooks.

 

Hope this helps!

✔️ Did this post help answer your query? Help the community by marking it as a solution.

0 Upvotes