Skip to main content
PUT
/
v1
/
event-types
/
{eventType}
/
booking-forms
/
update-order
cURL
curl --request PUT \
  --url https://api.novacal.io/v1/event-types/{eventType}/booking-forms/update-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fields": [
    {
      "id": 123,
      "position": 1
    }
  ]
}
'
{
  "success": true,
  "data": [
    {
      "id": 123,
      "identifier": "<string>",
      "label": "<string>",
      "type": "text",
      "placeholder": "<string>",
      "is_required": true,
      "is_active": true,
      "position": 1,
      "options": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

eventType
integer<int64>
required

ID of event type

Body

application/json

Ordered booking form field positions

fields
object[]
required

Response

200 - application/json

Booking form field order updated

success
boolean
required

Indicates whether the request was successful

Example:

true

data
object[]
required