Skip to main content

Edit Customer Group

Edit customer group by ID

HTTP Request

[PUT] /api/v6/accounts/types/{id}

Body Parameters

ParameterTypeNullableRequireDescription
account_type_namestringyesCustomer group name
account_type_codestringyesCustomer group code
parent_idintegerParent group identifier

Example

HTTP Request

PUT api/v6/accounts/types/4 HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
{
"account_type_name": "TEST ACCOUNT TYPE",
}

Status

200 OK

Response

{
"message": "Successfully updated",
"id": 4
}

Edit customer group by code

HTTP Request

[PUT] /api/v6/accounts/types

Body Parameters

ParameterTypeNullableRequireDescription
account_type_namestringyesCustomer group name
account_type_codestringyesCustomer group code
parent_idintegerParent group identifier

Example

HTTP Request

PUT api/v6/accounts/types/4 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 updated",
"id": 4
}