curl --request POST \
--url https://b.anny.co/api/v1/ui/admin/checkout-form \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"booking_config": {
"order_customer_id": null,
"bookings": [
{
"customer_id": null,
"service_id": {
"42": 1
},
"resource_id": 8,
"start_date": "2026-04-15T09:00:00+02:00",
"end_date": "2026-04-15T10:00:00+02:00"
},
{
"customer_id": "1701",
"service_id": {
"42": 1
},
"resource_id": 8,
"start_date": "2026-04-15T10:00:00+02:00",
"end_date": "2026-04-15T11:00:00+02:00"
}
]
},
"prefilled_data": {
"customer": {
"email": "guest@example.com"
}
}
}
'{
"components": [
{
"key": "customer_group",
"type": "customer-group",
"hasComponents": true
}
],
"validations": {
"customer.email": [
"required"
]
},
"default": {
"customer": {
"email": "guest@example.com"
}
},
"submitAction": {
"action": "submit",
"label": "Book order"
},
"isValid": true
}Orders & Billing
Build admin checkout form from booking configuration
Builds a dynamic admin form for order completion based on booking input (service, resource, time). This response can be rendered directly by the Admin UI form renderer. Supports mixed product orders — the config may contain bookings, standalone add-ons (add_ons) and booking passes purchased from bundles (booking_passes) in any combination. At least one of the three product arrays must be present; bookings may be omitted for bundle/add-on-only orders.
POST
/
api
/
v1
/
ui
/
admin
/
checkout-form
curl --request POST \
--url https://b.anny.co/api/v1/ui/admin/checkout-form \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"booking_config": {
"order_customer_id": null,
"bookings": [
{
"customer_id": null,
"service_id": {
"42": 1
},
"resource_id": 8,
"start_date": "2026-04-15T09:00:00+02:00",
"end_date": "2026-04-15T10:00:00+02:00"
},
{
"customer_id": "1701",
"service_id": {
"42": 1
},
"resource_id": 8,
"start_date": "2026-04-15T10:00:00+02:00",
"end_date": "2026-04-15T11:00:00+02:00"
}
]
},
"prefilled_data": {
"customer": {
"email": "guest@example.com"
}
}
}
'{
"components": [
{
"key": "customer_group",
"type": "customer-group",
"hasComponents": true
}
],
"validations": {
"customer.email": [
"required"
]
},
"default": {
"customer": {
"email": "guest@example.com"
}
},
"submitAction": {
"action": "submit",
"label": "Book order"
},
"isValid": true
}Autorisierungen
The access token received from the authorization server in the OAuth 2.0 flow.
Abfrageparameter
Organization ID