API · Appointments & bookings

Connect your schedule to SellViaApp.

Manage services, resources, schedules, unavailability, slots and bookings from your own software while giving customers a simple mobile experience.

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

Quick start

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.

Endpoints

Appointments & bookings

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

33 routes
GET /booking/config/get Key + Bearer

Read booking rules and the app currency.

PATCH /booking/config/update Key + Bearer

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

GET /booking/service-category/list Key + Bearer

List service categories and subcategories.

POST /booking/service-category/add Key + Bearer

Create a main category or subcategory.

PATCH /booking/service-category/update Key + Bearer

Update a service category classification.

DELETE /booking/service-category/delete Key + Bearer

Delete an unused category or archive it.

GET /booking/service/list Key + Bearer

List bookable services and eligible resources.

GET /booking/service/detail Key + Bearer

Retrieve a service detailed description and photo gallery.

POST /booking/service/add Key + Bearer

Create a service with duration, price and resources.

POST /booking/service/photo/add Key + Bearer

Add a photo to a service gallery.

DELETE /booking/service/photo/delete Key + Bearer

Delete a service photo.

PATCH /booking/service/photo/primary Key + Bearer

Select the main photo shown in the mobile list.

PATCH /booking/service/update Key + Bearer

Update a bookable service.

DELETE /booking/service/delete Key + Bearer

Delete an unused service or archive it.

GET /booking/resource/list Key + Bearer

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

POST /booking/resource/add Key + Bearer

Create a bookable resource.

PATCH /booking/resource/update Key + Bearer

Update a resource.

DELETE /booking/resource/delete Key + Bearer

Delete an unused resource or archive it.

GET /booking/availability/list Key + Bearer

List weekly schedules.

POST /booking/availability/add Key + Bearer

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

DELETE /booking/availability/delete Key + Bearer

Delete a schedule.

GET /booking/unavailability/list Key + Bearer

List holidays, closures and blocked periods.

POST /booking/unavailability/add Key + Bearer

Block a general or resource-specific period.

DELETE /booking/unavailability/delete Key + Bearer

Delete an unavailability.

GET /booking/slot/list Key + Bearer

List available slots and slots temporarily pending administrator confirmation.

GET /booking/list Key + Bearer

List authorised bookings.

GET /booking/detail Key + Bearer

Retrieve one booking and its history.

POST /booking/create Key + Bearer

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

POST /booking/customer-confirm Key + Bearer

Confirm a booking on the customer side.

POST /booking/admin-confirm Key + Bearer

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

PATCH /booking/update Key + Bearer

Reschedule or update a booking.

PATCH /booking/status/update Key + Bearer

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

POST /booking/cancel Key + Bearer

Cancel according to the configured deadline.

Endpoints

Customer payments

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

4 routes
GET /payment/config Key + Bearer

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

POST /payment/checkout/create Key + Bearer

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 Key + Bearer

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

GET /payment/status Key + Bearer

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.

400Invalid request
401Authentication required
403Access denied
404Resource or route not found
409Business conflict
422Validation failed
429Too many requests
5xxTechnical incident

API workbench

Endpoint

GET

Generated code contains the credentials you entered. Keep them server-side and never share an unredacted screenshot.

Ready to test