Skip to main content
POST
/
appointment-types
Create Appointment
curl --request POST \
  --url https://crm.universal.rollout.com/api/appointment-types \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Rollout-Credential-Id: <api-key>' \
  --data '
{
  "name": "<string>",
  "orderWeight": 123
}
'
{
  "id": "<string>",
  "name": "<string>",
  "orderWeight": 123,
  "originalIds": {},
  "original": {}
}

Authorizations

Authorization
string
header
required

Authorization JWT

X-Rollout-Credential-Id
string
header
required

The Rollout Credential ID to use for queries/mutations

Body

application/json
name
string
required
orderWeight
number
required

Response

Created

id
string
required
name
string
required
orderWeight
number
required
originalIds
object
required
original
object
required