Create and Update Account
POST /api/v1_1/account
post
https://{domain}.customersuccessbox.com
/api/v1_1/account
Account

Body example

Refer to available fields in Account Resource for attributes that can be set and updated for an Account using this call.
Only those fields are allowed which aren't marked as Read-only.
1
{
2
"account_id": "ACME343rq",
3
"name": "Acme Inc."
4
}
Copied!
1
{
2
"account_id": "ACME343rq",
3
"parent_account_id": "ACME3463qw",
4
"name": "Acme Inc."
5
}
Copied!

CURL request example

1
curl --location --request POST "https://{domain}.customersuccessbox.com/api/v1_1/account" \
2
--header "Authorization: Bearer {api_key}" \
3
--header "Content-Type: application/json" \
4
--data "{
5
\"parent_account_id\": \"ACME3463qw\",
6
\"account_id\": \"ACME343rq\",
7
\"name\": \"Acme Inc.\"
8
}"
Copied!
Last modified 10mo ago