Skip to content

Customer Classes

A customer class groups similar customers and carries data protection and business verification rules. See the Customer Classes guide for how classes work.

/backend/api/v1/customerClasses/ID - fetch the customer class with the specified ID.

/backend/api/v1/customerClasses/ - list all customer classes.

ParameterTypeRequiredDescription
idAfterintegerNoOnly include classes with a higher ID
createdSincedatetimeNoOnly include classes created since the given time
updatedSincedatetimeNoOnly include classes updated since the given time

/backend/api/v1/customerClasses/ - add a new customer class. The newly-added class will be returned.

/backend/api/v1/customerClasses/ID - update the customer class with the specified ID. The modified class will be returned.

/backend/api/v1/customerClasses/ID - delete the customer class with the specified ID.

FieldNameTypeDescription
customerClassNameCustomer ClassTextName of the customer class
customerClassDisplayClassCustomer Class Display ClassTextCSS class name used for display styling of this customer class
customerClassDisplayPositionCustomer Class Display PositionNumberSort order position for displaying this customer class in lists
personalCustomerPersonal CustomerPreset ValueWhether customers in this class are personal customers requiring special data protection handling
soleTraderSole TraderPreset ValueWhether customers in this class are sole traders
resellerResellerPreset ValueWhether customers in this class are resellers who sell services to other customers
companiesHouseCheckCheck Companies HousePreset Value
idCustomer Class IDTextThe unique identifier for this customer class