post https://{youraccountname}.api-us1.com/api/3/accounts
Create a new account
{
"account": {
"name": "Example Account",
"accountUrl": "https://www.example.com",
"owner": 1,
"fields": [
{
"customFieldId": 9,
"fieldValue": "500-1000"
},
{
"customFieldId": 20,
"fieldValue": 1234,
"fieldCurrency": "GBP"
}
]
}
}
{
"account": {
"name": "Example Account",
"accountUrl": "https://www.example.com",
"createdTimestamp": "2019-06-12T16:52:16-05:00",
"updatedTimestamp": "2019-06-12T16:52:16-05:00",
"links": [],
"fields": [
{
"customFieldId": 9,
"fieldValue": "501 - 1000",
"accountId": "1"
},
{
"customFieldId": 20,
"fieldValue": 1234,
"fieldCurrency": "GBP",
"accountId": "1"
}
],
"id": "1"
}
}