Skip to main content
POST
/
api
/
booking
/
confirm
Confirm appointment
curl --request POST \
  --url https://brunkhorst.connectors.aicoflow.com/api/booking/confirm \
  --header 'Content-Type: application/json' \
  --data '
{
  "car": {
    "license_plate": "<string>",
    "mileage": "<string>",
    "make": "<string>",
    "model": "<string>",
    "type": "<string>"
  },
  "customer": {
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "surname": "<string>",
    "phone": "<string>",
    "phones": [
      {
        "number": "<string>",
        "type": "mobile"
      }
    ]
  },
  "appointment_id": "<string>",
  "session_id": "<string>",
  "comment": "",
  "customer_wants_to_wait": false,
  "customer_needs_rental": false,
  "storage_number": ""
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json

Request model for confirming an appointment.

car
CarInfo · object
required

Car information model.

customer
CustomerInfo · object
required

Customer information model.

appointment_id
string | null
session_id
string | null
comment
string
default:""
customer_wants_to_wait
boolean
default:false
customer_needs_rental
boolean
default:false
storage_number
string
default:""

Response

Confirmation status