Booking Event Types
62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.
POST/api/v1/booking/event-typesCreate a booking event type
- Pfad
/api/v1/booking/event-types- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/booking/event-types/by-page/{pageId}Get event types by booking page ID
- Pfad
/api/v1/booking/event-types/by-page/{pageId}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types/by-page/{pageId} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types/by-page/{pageId}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();DELETE/api/v1/booking/event-types/{id}Delete booking event type by ID
- Pfad
/api/v1/booking/event-types/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types/{id} \
-X DELETE \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types/{id}", {
method: "DELETE",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/booking/event-types/{id}Get event type by ID
- Pfad
/api/v1/booking/event-types/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types/{id} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types/{id}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PUT/api/v1/booking/event-types/{id}Update booking event type by ID
- Pfad
/api/v1/booking/event-types/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types/{id} \
-X PUT \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types/{id}", {
method: "PUT",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PUT/api/v1/booking/event-types/{id}/availabilitySave availability rules for an event type
- Pfad
/api/v1/booking/event-types/{id}/availability- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types/{id}/availability \
-X PUT \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types/{id}/availability", {
method: "PUT",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PUT/api/v1/booking/event-types/{id}/form-fieldsSave form fields for an event type
- Pfad
/api/v1/booking/event-types/{id}/form-fields- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/booking/event-types/{id}/form-fields \
-X PUT \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/booking/event-types/{id}/form-fields", {
method: "PUT",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();