/api/2.0/accounts/

POST https://developer.salesfusion.com/api/2.0/accounts/

Description:

Creates a new account in the Salesfusion database.

Sample Response:
{
    "account_id": 119490,
    "account": "https://developer.salesfusion.com/api/2.0/accounts/119490/",
    "account_name": "TJs Test Account!",
    "owner_id": 2,
    "owner": "https://developer.salesfusion.com/api/2.0/users/2/",
    "phone": "",
    "created_date": "2018-12-17T19:41:58.909335",
    "created_by": "https://developer.salesfusion.com/api/2.0/users/2/",
    "updated_date": "2018-12-17T19:41:58.909346",
    "updated_by": "https://developer.salesfusion.com/api/2.0/users/2/",
    "billing_city": "",
    "contacts": "https://developer.salesfusion.com/api/2.0/accounts/119490/contacts/",
    "created_by_id": 2,
    "updated_by_id": 2,
    "account_score": null,
    "key_account": false
}

Request Body

{"account_name"=>"TJs Test Account!"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring