Create or Update Registration PRERELEASE

Description

Creates or updates an availability rule for the authenticated account.

URL format

api.cronofy.com/v1/bookable_events/{bookable_event_id}/registrations

Example Request

POST /v1/bookable_events/{bookable_event_id}/registrations HTTP/1.1
Host: api.cronofy.com
Authorization: Bearer {API_KEY}
Content-Type: application/json; charset=utf-8

{
  "registration_id": "87326",
  "status": "accepted",
  "metadata": {
    "email": "a@company.com",
    "name": "Bill the One",
    "locale": "en-US",
    "zoneinfo": "America/Chicago"
  }
}

Example Response

HTTP/1.1 202 Accepted

Request parameters

registration_id required  #

The String that uniquely identifies the registration within the Bookable Event.

status optional  #

A String that indicates the status of the registration. Must be one of:

  • pending have not received any response from the reply
  • accepted the reply has accepted the invitation
  • tentative the reply has tentatively accepted the invitation
  • declined the reply has declined the invitation

The default value if not specified is accepted.

metadata optional  #

Key-value pairs of additional data to save against the registration.

We recommend that, if you wish to store a value that is contained within the Open ID Standard Claims list, you use the key defined in that list. As we extend the capabilities of Bookable Events throughout our service keys from that list will have the associated meaning.

Search