Create a new club

This endpoint allows users to create a new club, which can be assigned to different templates, allowing for varied functionalities and features based on specific user needs. To create a club, the user must provide key details, including the club's name, associated template, and owner ID.

Once created, the club_create event is automatically registered in both the club's and the club owner's event history.

Body Params
name
object

The name of the club, which can be provided in multiple languages. This parameter should be an object where each key corresponds to a language code, and the value is the club name in that language. At least one language must be provided.

string

The unique identifier of the club template under which the new club is being created. This ID must reference an existing template in the system and should be active. If the specified template does not exist or is inactive, an error will be returned.

string

The unique identifier of the customer who will own the new club. The customer associated with this ID must be active and should not already own another club or be a member of another club.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json