Assign person to group

Use case

Here we will review how to assign a person to the customer group. Let us assign a private person, Trevor Tuum, to a business customer group.

Use case data
API parameters with values

A private person with personId: ID-3392

...persons/ID-3392/person-groups

A customer group for business customers

Sample API cal

To assign a person to the customer group, make the following API call.

https://person-api.sandbox.tuumplatform.com/api/v2/persons/ID-3392/person-groups

circle-info

To learn more about the assign person to grouparrow-up-right endpoint, check the Tuum developer portal.

Sample request

Below is the example body request of the API call for assigning a person to the group.

{
  "personGroupCode": "BUSINESS"
}

Sample response

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

chevron-rightResponsehashtag

Result

The user ID-3392 is assigned to the BUSINESS customer group.

Last updated

Was this helpful?