v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
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

namestring required

Name of the group. Cannot include any of the following characters: ,;/

business__inBusinessId[] required

List of business ids

Example request

{
  "name": "France",
  "business__in": [
    "5409c35a97bbc544d8e26737",
    "595badaef348ab6b3530033f",
    "59d53302b12ff6429f262639"
  ]
}

Response

OK

status'success'

Request status

idinteger

ID of the created group

Example response

{
  "id": 1
}