Skip to content
campaiDeveloper
campai.com

Booking · Events · Attendees

POST/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/updateServices

Update attendee services

Updates the services of a specific attendee for a specific event for a given mandate

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • attendee.edit

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • attendeeIdidrequired
  • eventIdidrequired

Body

Content-Type: application/json

  • servicesobject[]required
    2 properties
    • serviceIdidrequired
    • optionIdsstring[]required
  • optionsobjectrequired
    3 properties
    • chargebooleanrequired
    • refundbooleanrequired
    • refundAmountsobject[]
      3 properties
      • serviceIdidrequired
      • optionIdstringrequired
      • amountintegerrequired

        0–9999999999

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/events/YOUR_EVENT_ID/attendees/YOUR_ATTENDEE_ID/updateServices' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.