Skip to main content

Add New

Create new customer group

HTTP Request

[POST] /api/v6/accounts/types

Body Parameters

ParameterTypeNullableRequireDescription
account_type_namestringyesCustomer group name
account_type_codestringyesCustomer group code
parent_idintegerParent 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
}