/api/2.0/accounts/{PK}/

PUT https://developer.salesfusion.com/api/2.0/accounts/{PK}/

Description:

Modifies a specific account. If the specified account does not exist a new account will be provided.

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

KeyDatatypeRequiredDescription
Content-Typestring