/api/2.0/accounts/{PK}/
PATCH https://developer.salesfusion.com/api/2.0/accounts/{PK}/
Description:
Modifies a specific account. If the account_id provided does not exist Not Found
will be returned.
PK → Account_ID
Sample Response:
{
"account_name": "This is a new account name!",
"owner_id": 2,
"owner": "https://developer.salesfusion.com/api/2.0/users/2/",
"phone": "",
"fax": "",
"created_date": "2018-12-17T19:42:00Z",
"created_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"updated_date": "2018-12-17T19:46:22.906458Z",
"updated_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"created_by_id": 2,
"updated_by_id": 2,
"billing_street": "",
"billing_country": "",
"billing_city": "",
"billing_state": "",
"billing_zip": "",
"shipping_street": "",
"shipping_country": "",
"shipping_city": "",
"shipping_state": "",
"shipping_zip": "",
"account_number": "",
"description": "",
"crm_id": "",
"type": "",
"currency_iso_code": "",
"url": "",
"rating": "",
"campaign_id": "",
"sic": "",
"short_description": "",
"industry": "",
"custom_fields": {
"School_Name__c": null,
"AnnualRevenue": null,
"ShippingLatitude": null
},
"account_score": null,
"key_account": false,
"salesfusion_last_activity": null
}
Request Body
{"account_name"=>"This is a new account name!"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |