Groups and Sections
Create Group and set businesses
Create a new group. This endpoint allows Group Managers to create new groups within the system. For more information about the group system, see the Groups and Sections description. ⚠️ You must specify which businesses are part of the group using the business__in parameter.
- If you don't specify any businesses, the group will be created with all businesses. - To create an empty group, provide an empty array in the business__in parameter.
post/sections/{section_id}/groups
Path parameters
section_idinteger required
Section ID
Request body
Example request
{
"name": "France",
"business__in": [
"5409c35a97bbc544d8e26737",
"595badaef348ab6b3530033f",
"59d53302b12ff6429f262639"
]
}Response
OK
Example response
{
"id": 1
}