Add New
Create new customer group
HTTP Request
[POST] /api/v6/accounts/types
Body Parameters
Parameter | Type | Nullable | Require | Description |
---|---|---|---|---|
account_type_name | string | yes | Customer group name | |
account_type_code | string | yes | Customer group code | |
parent_id | integer | Parent group identifier |
Example
HTTP Request
POST api/v6/accounts/types HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
{
"account_type_name": "TEST ACCOUNT TYPE",
"account_type_code": "TEST_ACCOUNT_TYPE",
}
Status
200 OK
Response
{
"message": "Successfully added",
"id": 4
}