Make new functionality optional

This commit is contained in:
Raphael Michel
2022-07-25 11:52:32 +02:00
parent 9101b5b69d
commit 839585a3a9
6 changed files with 74 additions and 22 deletions

View File

@@ -131,7 +131,9 @@ Endpoints
.. http:post:: /api/v1/organizers/(organizer)/customers/
Creates a new customer
Creates a new customer. In addition to the fields defined on the resource, you can pass the field ``send_email``
to control whether the system should send an account activation email with a password reset link (defaults to
``false``).
**Example request**:
@@ -143,7 +145,8 @@ Endpoints
Content-Type: application/json
{
"email": "test@example.org"
"email": "test@example.org",
"send_email": true
}
**Example response**: