Custom_field doesn't change

Hi,

I’m trying to add custom_field in Account data. API request works. There is no error. But it doesn’t change the custom_field.

[API Request](https://developers.freshworks.com/crm/api/#update_a_account)

curl -H "Authorization: Token token=sfg999666t673t7t82" -H "Content-Type: application/json" -d '{"sales_account":{"custom_field": {"cf_domain_name": "samplewebsite.yourcompany.com"} }}' -X PUT "https://domain.myfreshworks.com/crm/sales/api/sales_accounts/1"

Thanks

@Ebubekir_Tabak ,
Good Day!
Welcome to the community!
Ideally, it will work, Have you gotten the response with the data which you sent?
if you get the response then, kindly reload the page to check if it is reflected in the custom_field.

Thanks

Yes, I got the response. But custom_field was the empty object.

@Ebubekir_Tabak ,
can you please give me the exact CURL which you are trying to execute?
I will try from my side and getback to you

Thanks

${sub-domain}.myfreshworks.com/crm/sales/api/sales_accounts/${id}

Hi, I added the url @Santhosh

@Ebubekir_Tabak ,
Good Day!
Kindly create the L2 support ticket for the same,
the CURL which you shared seems to be good and I am assuming there might be some issues with the product.

Hope it helps

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.