API · Termine und Buchungen

Verbinden Sie Ihren Kalender mit SellViaApp.

Verwalten Sie Leistungen, Ressourcen, Zeitpläne, Sperrzeiten und Buchungen direkt aus Ihrer Software.

Basis-URLhttps://api.sellviaapp.com/
Required headersX-API-Key + Bearer
Developer supportapi@sellviaapp.com

Schnellstart

Authenticate, choose a route, test.

Get the X-API-Key and generate the Bearer in Dashboard → API. Enter them below, then use “Test · Generate” on an endpoint to obtain the response and cURL, PHP 8 or JavaScript code.

Credentials incompleteEnter the X-API-Key and Bearer token to prepare a test.

Credentials remain in memory for this page only. For a customer-related operation, add customer_id.

Keep in mindHTTPS + JSON · keep both credentials server-side · never send tokens to support.

Endpunkte

Appointments & bookings

Configure services, resources, schedules and bookings from the mobile app, an ERP or business software.

33 routes
GET /booking/config/get Schlüssel + Träger

Read booking rules and the app currency.

PATCH /booking/config/update Schlüssel + Träger

Update notice, cancellation and reminder rules. Two-step confirmation always remains active.

GET /booking/service-category/list Schlüssel + Träger

List service categories and subcategories.

POST /booking/service-category/add Schlüssel + Träger

Create a main category or subcategory.

PATCH /booking/service-category/update Schlüssel + Träger

Update a service category classification.

DELETE /booking/service-category/delete Schlüssel + Träger

Delete an unused category or archive it.

GET /booking/service/list Schlüssel + Träger

List bookable services and eligible resources.

GET /booking/service/detail Schlüssel + Träger

Retrieve a service detailed description and photo gallery.

POST /booking/service/add Schlüssel + Träger

Create a service with duration, price and resources.

POST /booking/service/photo/add Schlüssel + Träger

Add a photo to a service gallery.

DELETE /booking/service/photo/delete Schlüssel + Träger

Delete a service photo.

PATCH /booking/service/photo/primary Schlüssel + Träger

Select the main photo shown in the mobile list.

PATCH /booking/service/update Schlüssel + Träger

Update a bookable service.

DELETE /booking/service/delete Schlüssel + Träger

Delete an unused service or archive it.

GET /booking/resource/list Schlüssel + Träger

List people, rooms, vehicles, equipment and capacity resources.

POST /booking/resource/add Schlüssel + Träger

Create a bookable resource.

PATCH /booking/resource/update Schlüssel + Träger

Update a resource.

DELETE /booking/resource/delete Schlüssel + Träger

Delete an unused resource or archive it.

GET /booking/availability/list Schlüssel + Träger

List weekly schedules.

POST /booking/availability/add Schlüssel + Träger

Add a general, service-specific or resource-specific schedule.

DELETE /booking/availability/delete Schlüssel + Träger

Delete a schedule.

GET /booking/unavailability/list Schlüssel + Träger

List holidays, closures and blocked periods.

POST /booking/unavailability/add Schlüssel + Träger

Block a general or resource-specific period.

DELETE /booking/unavailability/delete Schlüssel + Träger

Delete an unavailability.

GET /booking/slot/list Schlüssel + Träger

List available slots and slots temporarily pending administrator confirmation.

GET /booking/list Schlüssel + Träger

List authorised bookings.

GET /booking/detail Schlüssel + Träger

Retrieve one booking and its history.

POST /booking/create Schlüssel + Träger

Create and confirm the customer request; administrator approval is then still required.

POST /booking/customer-confirm Schlüssel + Träger

Confirm a booking on the customer side.

POST /booking/admin-confirm Schlüssel + Träger

Confirm, return to pending or reject the booking on the administrator side.

PATCH /booking/update Schlüssel + Träger

Reschedule or update a booking.

PATCH /booking/status/update Schlüssel + Träger

Advance a booking that has already been confirmed by both sides.

POST /booking/cancel Schlüssel + Träger

Cancel according to the configured deadline.

Endpunkte

Customer payments

Choose pay on delivery or open a secure Stripe payment, then retrieve its server-verified status.

4 routes
GET /payment/config Schlüssel + Träger

Retrieve the enabled Stripe payment methods and the Stripe account provider selected for the app.

POST /payment/checkout/create Schlüssel + Träger

Create or resume a Stripe Checkout page for an unpaid order or booking owned by the signed-in customer. A still-changeable pay-on-delivery choice is safely replaced.

POST /payment/pay-later Schlüssel + Träger

Record pay on delivery or replace a still-open Stripe payment after its session is securely checked and expired.

GET /payment/status Schlüssel + Träger

Retrieve a payment status; only the signed Stripe webhook can confirm it as paid.

Reference

Responses and errors

Each row has a “Parameters and responses” button showing required or optional fields, possible statuses and JSON examples. An empty list means the resource is not populated yet, not that the endpoint is down.

400Antrag auf Ungültigkeit
401Authentifizierung erforderlich
403Zugang verweigert
404Ressource oder Route nicht gefunden
409Geschäftskonflikt
422Validierung fehlgeschlagen
429Zu viele Anfragen
5xxTechnische Störung

API-Arbeitsbereich

Endpoint

GET

Der erzeugte Code enthält die eingegebenen Zugangsdaten. Bewahren Sie sie serverseitig auf und teilen Sie niemals einen ungeschwärzten Screenshot.

Bereit zum Testen