Create customer group

Use case

Here we will review how to create customer groups that are used to make different price decisions based on the group. We will create a new customer group using the following data:

Use case data
API parameters with values

The group name is business.

This is a group for the premium customers.

Sample API call

To create a new customer group, make the following API call.

https://person-api.sandbox.tuumplatform.com/api/v1/person-group-types

circle-info

See more information about the create customer grouparrow-up-right endpoint in the Tuum developer portal.

Sample request

Below is an example request body of the API call for creating a new customer group.

{
  "personGroupCode": "BUSINESS",
  "description": "Premium customers"
}

Sample response

Here you find an example response body to the API call above.

chevron-rightResponsehashtag

Result

A new BUSINESS customer group is created.

Last updated

Was this helpful?