nikunj Student


Posts: 6
Registered: ‎05-16-2017

Unable to update Bill To Contact of an Account

I am using the pt1 environment, and trying to update an account's bill to contact using the CRUD accounts REST API. Following is the curl request used for updation. Note that while crmid has been updated, the contact hasn't. The response for this request gives Success : True along with the same account id.
curl -X PUT \ \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
"BillTold" : "2c91a0fb5c1d70aa015c1fb7c4ac493d",
"CrmId" : "random string"
Response : 
"Success": true,
"Id": "2c91a0fb5c1d70a8015c1fb468e6292a"
I'm simply following the API reference documentation as mentioned here : Update Account (
Note that both the account and the contact have been created before running this request.