/api/v1/experience/profiles/ensureCreate or retrieve an anonymous tenant-bound experience profile
Creates a tenant-bound anonymous profile. Identity linkage requires a verified customer session and separate current consent.
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/profiles/ensure" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/eventsRecord an idempotent experience event
Analytics and marketing scopes fail closed when the matching profile consent is not granted. Reusing an idempotency key with different data returns 409.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/events" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/preferencesRead an anonymous profile's current preferences and consent flags
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| X-Experience-Profile-Id | header | string (uuid) | yes | — |
| X-Experience-Anonymous-Id | header | string | yes | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/experience/preferences" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/experience/preferencesUpdate anonymous experience preferences
object
curl -X PATCH \
"https://api.lumbu.pt/api/v1/experience/preferences" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/consentsRead consent state and current published consent documents
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| X-Experience-Profile-Id | header | string (uuid) | yes | — |
| X-Experience-Anonymous-Id | header | string | yes | — |
| locale | query | string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/experience/consents" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/experience/consentsGrant or revoke consent for an anonymous experience profile
Grants require the current published document version for the requested locale. Consent events are idempotent and independent by purpose.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/consents" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/recommendationsRead recommendations for an analytics-consenting profile
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| X-Experience-Profile-Id | header | string (uuid) | yes | — |
| X-Experience-Anonymous-Id | header | string | yes | — |
| limit | query | integer | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/experience/recommendations" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/experience/cart-recoverySave a cart for recovery
Requires current marketing consent, and SMS consent when the requested channel includes SMS. The schema RPC upserts and rotates its recovery token; it does not support idempotency keys, so callers should not blindly retry an unknown outcome.
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/cart-recovery" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/cart-recovery/recoverAtomically claim and restore a tenant cart recovery token
The token is sent in the request body. Tenant ownership comes from the API key. Replaying a completed claim returns the same cart until token expiry.
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/cart-recovery/recover" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/link-consentRead the current published profile-link consent document
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| locale | query | string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/experience/link-consent" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/experience/linkLink an anonymous profile to the signed-in customer
Requires the tenant API key, a valid X-Lumbu-Customer-Token session for the same tenant, and explicit acceptance of the current published experience_profile_link consent version.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| X-Lumbu-Customer-Token | header | string | yes | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/link" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/experience/unlinkUnlink the signed-in customer from an experience profile
Requires a valid X-Lumbu-Customer-Token session for the authenticated tenant. The RPC revokes the current profile-link consent and is idempotent.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| X-Lumbu-Customer-Token | header | string | yes | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/experience/unlink" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/newsletter/subscribeStart a tenant newsletter double opt-in
Requires a writable tenant API key. Consent is mandatory. The tenant/email unique index deduplicates pending and confirmed rows; unsubscribed rows stay suppressed. The endpoint sends only a transactional confirmation message, not newsletter content. Requests are limited by tenant/IP and tenant/email. A populated website honeypot is silently dropped.
object
NewsletterSubscribeResult
curl -X POST \
"https://api.lumbu.pt/api/v1/newsletter/subscribe" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/newsletter/confirmOpen the inert newsletter confirmation form
Hosted only on a verified tenant primary or alias hostname. This GET never changes subscription state; it displays a user-submit form to prevent link scanners from confirming.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| token | query | string (uuid) | yes | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/newsletter/confirm" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/newsletter/confirmConfirm a newsletter subscription
Accepts either a matching tenant credential or a single-use token from the verified tenant hostname. Invalid and valid tokens share the same response. Confirmation records confirmed_at and consumes the token.
object
NewsletterConfirmResult
curl -X POST \
"https://api.lumbu.pt/api/v1/newsletter/confirm" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/reports/daily-summaryGet the tenant's daily operational summary
Requires a tenant integration credential with scope reports:read or an active MCP OAuth grant whose user explicitly selected reports:read during consent. Generic OAuth read/write access does not include reporting. Returns aggregate counts and paid-order totals for one UTC day; appointment count means bookings created that day, and revenue is paid order totals, not total salon turnover. The projection contains no customer records, card data, payment identifiers, or other row-level order or appointment data. Responses are never cached.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| date | query | string (date) | no | UTC calendar date; defaults to yesterday in UTC. |
DailySummaryReport
curl -X GET \
"https://api.lumbu.pt/api/v1/reports/daily-summary" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/reports/business-analyticsGet aggregate operational health for a tenant-local period
Requires a tenant integration key with reports:read or an active MCP OAuth grant with explicitly consented reports:read. Generic read/write grants do not imply reporting access. Periods are inclusive tenant-local dates and are limited to 90 days. Returns appointment lifecycle counts, service mix, schedule-derived capacity, and aggregate canonical care-journey metrics. An optional comparison period must have the same number of days; the response compares appointments, capacity, and care-journey aggregates. It omits customer rows, care records, staff names, and finance totals. Capacity is partial because the current read model does not include shift changes or breaks. Finance revenue per hour is unavailable until a separately authorized financial source is available. Results are not cached.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| from | query | string (date) | yes | — |
| to | query | string (date) | yes | — |
| comparison_from | query | string (date) | no | — |
| comparison_to | query | string (date) | no | — |
BusinessAnalyticsReport
curl -X GET \
"https://api.lumbu.pt/api/v1/reports/business-analytics" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/reports/finance/monthly-summaryGet aggregate monthly Finance and close-readiness metrics
Requires an active MCP OAuth grant with explicitly consented finance:read. Generic read/write and reports:read do not grant access to this operation. The response reuses the tenant-scoped Sage revenue and Finance health read contracts. Every metric carries coverage. Unsupported credit-note, cash, unpaid-receivable, expense completeness, payroll, owner-transfer, bank, or PDF-close evidence stays null or unavailable; missing evidence is never reported as zero. Past months have a complete calendar window; the current month is marked partial and future months are rejected. Sage synchronization time is returned separately from report generation time. The response contains no full invoices, raw transactions, bank credentials, payroll personal details, or write operations. Results are not cached.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| month | query | string | yes | Tenant-local calendar month in YYYY-MM format |
FinanceMonthlySummaryReport
curl -X GET \
"https://api.lumbu.pt/api/v1/reports/finance/monthly-summary" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/reports/finance/sage-invoicesList stored Sage invoices by issue date, newest first
Requires explicit invoice consent. Returns stored snapshots, not live Sage data. Includes status and document type; no customer identities or raw documents.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| from | query | string (date) | yes | — |
| to | query | string (date) | yes | Inclusive range of at most 92 days |
| status | query | string | no | —[issued, draft, void, review] |
| document_type | query | string | no | —[sales_invoice, credit_note, other, unknown] |
| page | query | integer | no | — |
| limit | query | integer | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/reports/finance/sage-invoices" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/reports/finance/sage-invoices/{observationId}Read a stored Sage invoice with financial lines and payment entries
Requires explicit invoice consent. Use the observationId returned by listSageInvoices. No customer identities, free text, PDFs or bank account information. Recorded payment entries are not bank confirmation.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| observationId | path | string (uuid) | yes | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/reports/finance/sage-invoices/{observationId}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/reports/finance/period-summaryGet aggregate stored Sage invoice totals for a date range
Requires financial reporting consent. Totals are grouped by currency, excluding drafts, voids and credit notes. Not a complete profit or cash report. Source coverage is stored snapshot only.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| from | query | string (date) | yes | — |
| to | query | string (date) | yes | Inclusive range of at most 92 days |
curl -X GET \
"https://api.lumbu.pt/api/v1/reports/finance/period-summary" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/finance/invoicesList fiscal documents for a bounded date range
Requires explicit finance:invoices:read consent. Uses the latest imported fiscal document observations, not live provider calls. Opaque invoice IDs remain stable across observation revisions. Exact decimal amounts are strings. Customer tax IDs, contact details, raw source records and PDFs are excluded.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| from | query | string (date) | yes | — |
| to | query | string (date) | yes | — |
| limit | query | integer | no | — |
| cursor | query | string | no | — |
| document_type | query | string | no | —[invoice, credit_note, debit_note, receipt, other, unknown] |
| status | query | string | no | —[issued, draft, voided, review] |
| reference | query | string | no | — |
FiscalInvoiceList
curl -X GET \
"https://api.lumbu.pt/api/v1/finance/invoices" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/finance/invoices/{id}Get a fiscal invoice and normalized lines
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | — |
FiscalInvoiceDetail
curl -X GET \
"https://api.lumbu.pt/api/v1/finance/invoices/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/finance/invoices/{id}/paymentsList recorded settlement evidence for a fiscal invoice
Provider-recorded payment entries do not confirm bank receipt. Unsupported allocations and missing evidence remain incomplete or unavailable.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | — |
FiscalInvoicePayments
curl -X GET \
"https://api.lumbu.pt/api/v1/finance/invoices/{id}/payments" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/finance/invoices/{id}/reconciliationGet appointment associations and reconciliation review state
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | — |
FiscalInvoiceReconciliation
curl -X GET \
"https://api.lumbu.pt/api/v1/finance/invoices/{id}/reconciliation" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/waitlistList the authenticated customer's waitlist entries
Requires a tenant API credential and the customer's verified Lumbu session. Returns entries owned by that customer in the resolved tenant.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| x-lumbu-customer-token | header | string | yes | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/waitlist" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/waitlistWithdraw the authenticated customer's waitlist entry
Withdrawal is tenant and customer scoped. Repeated withdrawal requests succeed without exposing whether an entry exists.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| x-lumbu-customer-token | header | string | yes | — |
object
curl -X DELETE \
"https://api.lumbu.pt/api/v1/customer/waitlist" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/loyaltyGet loyalty balance, rewards, tiers, and recent history
Derives the tenant from the tenant API key and the canonical customer identity from the verified tenant-scoped customer session.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
CustomerLoyaltyResponse
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/loyalty" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/loyaltyRedeem an eligible customer loyalty reward
The customer and tenant are derived from verified credentials. Reuse the idempotency key only when retrying the same reward redemption.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
CustomerLoyaltyRedemptionResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/customer/loyalty" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/appointmentsList a page of appointments for the verified customer
Uses the tenant-scoped verified customer session. Results are ordered by start_at and id descending and use an opaque keyset cursor.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| limit | query | integer | no | — |
| cursor | query | string | no | — |
CustomerAppointmentListResponse
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/appointments" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/appointmentsGet appointment detail and customer history
object
CustomerAppointmentsResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/customer/appointments" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/appointments/{id}/contextResolve an appointment for its guest access token
Returns only tenant-scoped appointment details after verifying the guest booking token, including persisted service duration and variant composition for historical bookings.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | yes | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/customer/appointments/{id}/context" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/appointments/payment-confirmationResolve a paid branded booking callback
Requires the tenant API key, a tenant-bound opaque payment callback token, and the matching Stripe checkout session. Appointment access is issued only after Lumbu confirms the persisted payment as paid.
object
curl -X POST \
"https://api.lumbu.pt/api/v1/customer/appointments/payment-confirmation" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/ordersList orders for the verified customer session
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/orders" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/orders/{id}Get one order for the verified customer session
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
Order
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/orders/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/sessionRevoke the verified customer browser session
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X DELETE \
"https://api.lumbu.pt/api/v1/customer/session" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/profileRead the verified customer's profile
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/profile" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/profileUpdate the verified customer's profile
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X PATCH \
"https://api.lumbu.pt/api/v1/customer/profile" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/exportGet a bounded customer data snapshot with explicit coverage limits
Requires the verified customer session. This is explicitly not a complete GDPR export; consumers must inspect complete=false and limitations.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
CustomerDataExport
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/export" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/wishlistList wishlist items for the verified customer
Currently unavailable. Published wishlist storage is keyed by Supabase Auth user_id and cannot be safely joined to canonical customer identity.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/wishlist" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/wishlistAdd a product to the verified customer's wishlist
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/customer/wishlist" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/wishlistRemove a product from the verified customer's wishlist
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X DELETE \
"https://api.lumbu.pt/api/v1/customer/wishlist" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/addressesList addresses for the verified customer
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/addresses" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/addressesAdd an address to the verified customer's address book
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/customer/addresses" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/customer/addresses/{id}Update an address in the verified customer's address book
/api/v1/customer/addresses/{id}Delete an address from the verified customer's address book
/api/v1/customer/preferencesRead the marketing preference and active tenant disclosure
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/customer/preferences" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/customer/preferencesRecord a marketing consent ledger event
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X PATCH \
"https://api.lumbu.pt/api/v1/customer/preferences" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/orders/{id}/returnsRequest a return for a paid and shipped order
Creates an auditable request for operator review. This endpoint does not approve a return or issue a refund.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | yes | — |
| string | no | — |
CustomerOrderReturnRequest
CustomerOrderReturnResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/orders/{id}/returns" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/tenant/contextVerify tenant identity and read public tracking settings
Uses fresh tenant credential and lifecycle checks. Returns only the verified tenant ID and public Meta/Google Ads settings. Responses are private, no-store. Tenant SDK read/write credentials are supported; widget keys are not supported.
curl -X GET \
"https://api.lumbu.pt/api/v1/tenant/context" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/tenant/capabilitiesRead effective public tenant capabilities
Uses the verified tenant credential and lifecycle policy, then the canonical tenant capability evaluator. Returns only the verified tenant ID and the effective reservations decision. Ignores caller-supplied tenant IDs. Provider failures return 503 rather than a cacheable disabled result. The response is private, no-store. Widget keys are not accepted.
curl -X GET \
"https://api.lumbu.pt/api/v1/tenant/capabilities" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/tenantGet tenant metadata
TenantMetadata
curl -X GET \
"https://api.lumbu.pt/api/v1/tenant" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/onboarding/checkCheck tenant setup completeness
Returns a structured readiness check for the tenant's salon setup. The ready result is authoritative when services, staff, staff hours, staff-service links, locations, and business hours all pass. Payment, branding, locale, and notification checks are informational only.
SetupCheckResult
curl -X GET \
"https://api.lumbu.pt/api/v1/onboarding/check" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/booking/bootstrapGet the public booking bootstrap snapshot
Returns the complete tenant-scoped presentation snapshot needed to render a public booking flow. Online payment availability is an authoritative Lumbu capability; consumers must not infer it from Stripe-specific tenant fields.
BookingBootstrap
curl -X GET \
"https://api.lumbu.pt/api/v1/booking/bootstrap" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/booking/packagesList active, currently bookable service packages
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| commercial_offer_key | query | string | no | Selects the typed Ukembu hair-therapy offer representation for its configured package. Omit this parameter to preserve the generic package response. |
curl -X GET \
"https://api.lumbu.pt/api/v1/booking/packages" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/booking/slotsRetrieve available booking slots
SlotsRequest
curl -X POST \
"https://api.lumbu.pt/api/v1/booking/slots" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/booking/quoteResolve authoritative booking price and eligibility
Resolves the current tenant catalog, variants, compatible add-ons, package price, promotion eligibility, payment capability, and optional staff/slot eligibility. Pass quote_revision to the direct booking request; a changed catalog selection is rejected before appointment creation. Omit customer_email and start_at for an early selection preview.
BookingQuoteRequest
BookingQuoteResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/booking/quote" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/booking/bookCreate a new booking
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
BookRequest
BookResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/booking/book" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/booking/cancelCancel an existing booking
CancelRequest
BookingCancellationResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/booking/cancel" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/booking/meta-consent/revokeRevoke Meta advertising measurement permission
Requires a tenant API key. Revocation is tenant-scoped and cannot grant or read permission.
object
curl -X POST \
"https://api.lumbu.pt/api/v1/booking/meta-consent/revoke" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/booking/rescheduleReschedule a booking to a new time
RescheduleRequest
RescheduleResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/booking/reschedule" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/servicesList services
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| active | query | string | no | Filter by active status[true, false] |
| booking_enabled | query | string | no | Filter by booking-enabled flag[true, false] |
| classification | query | string | no | Filter by canonical structured service classification[hair_evaluation, hair_therapy_session, hair_therapy_programme, head_spa, braids, other_hair_service, other] |
| updated_since | query | string (date-time) | no | Only return services updated on or after this timestamp |
PaginatedServiceList
curl -X GET \
"https://api.lumbu.pt/api/v1/services" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/service-categoriesList service categories with nested services
/api/v1/checkoutCreate a Stripe checkout session
Lumbu resolves product prices and applies eligible promotions and an optional gift card. A new checkout remains pending until the settlement webhook completes. Supply an Idempotency-Key header to make an ambiguous request safely retryable. The response includes a durable checkout intent ID and current intent status; use the intent read endpoint to poll later transitions. Pricing and promotion can be omitted when replaying an already finished checkout.
CheckoutRequest
CheckoutResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/checkout" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/checkout/intents/{id}Read the durable status of a checkout intent
Returns only the tenant-owned operation status and total. It is a status snapshot, not payment authorization or settlement confirmation.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | yes | — |
CheckoutIntentResponse
curl -X GET \
"https://api.lumbu.pt/api/v1/checkout/intents/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/appointments/{id}/checkoutCreate or resume an appointment payment session
Requires a tenant integration key with the bookings:payment scope. Tenant, appointment price, currency, and prepayment policy are resolved by Lumbu. The Idempotency-Key must remain stable when retrying an ambiguous response.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | yes | — |
| Idempotency-Key | header | string | yes | — |
curl -X POST \
"https://api.lumbu.pt/api/v1/appointments/{id}/checkout" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/staffList staff members
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| active | query | string | no | Filter by active status[true, false] |
| location_id | query | string (uuid) | no | Filter by location ID |
| updated_since | query | string (date-time) | no | Only return staff updated on or after this timestamp |
PaginatedStaffList
curl -X GET \
"https://api.lumbu.pt/api/v1/staff" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/team-membersList team member assignments
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| location_id | query | string (uuid) | no | Filter by location ID |
| staff_id | query | string (uuid) | no | Filter by staff ID |
| joined_since | query | string (date-time) | no | Only return memberships created on or after this timestamp |
PaginatedTeamMemberList
curl -X GET \
"https://api.lumbu.pt/api/v1/team-members" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/staff-availabilityGet computed staff availability
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| from | query | string | yes | Start date (YYYY-MM-DD) |
| staff_id | query | string (uuid) | no | Filter by staff ID |
| days | query | integer | no | Number of days to look ahead |
curl -X GET \
"https://api.lumbu.pt/api/v1/staff-availability" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/staff-hoursList staff recurring weekly hours
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| staff_id | query | string (uuid) | no | Filter by staff ID |
| location_id | query | string (uuid) | no | Filter by location ID |
PaginatedStaffHoursList
curl -X GET \
"https://api.lumbu.pt/api/v1/staff-hours" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/staff-time-offList staff time-off periods
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| staff_id | query | string (uuid) | no | Filter by staff ID |
| location_id | query | string (uuid) | no | Filter by location ID |
| start_at_gte | query | string (date-time) | no | Filter time-off starting on or after this timestamp |
| start_at_lte | query | string (date-time) | no | Filter time-off starting on or before this timestamp |
PaginatedStaffTimeOffList
curl -X GET \
"https://api.lumbu.pt/api/v1/staff-time-off" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/urlGet the tenant's canonical staff portal URL
Resolves the canonical hosted staff URL from the tenant bound to the tenant API key. It does not accept tenant IDs, template keys, hosts, or return URLs from the caller. A verified staff_portal domain is preferred; a verified primary domain falls back to its /staff route.
StaffPortalUrl
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/url" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/sessionGet the authenticated staff portal session
Verifies the tenant API key and opaque staff adapter session, then returns the server-scoped tenant/staff identity, explicit permission flags, and the tenant staff time-management approval policy.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalSession
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/session" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/session/logoutRevoke an opaque staff adapter session
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
OkResponse
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/session/logout" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/dashboardGet the staff portal dashboard aggregate
Returns today and next appointments, alerts, and the approval policy. It does not include earnings, commissions, sales, or targets.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalDashboard
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/dashboard" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/scheduleGet my or salon staff schedule
Returns appointments plus schedule context for the authenticated staff member (`scope=mine`) or salon (`scope=salon`). Tenant and staff identity are resolved server-side; salon appointment contact fields are redacted unless the staff member has appointment-management permission.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| scope | query | string | no | —[mine, salon] |
| start_date | query | string (date) | yes | Start date (YYYY-MM-DD), maximum range 31 days |
| end_date | query | string (date) | no | End date (YYYY-MM-DD), defaults to start_date |
| target_staff_id | query | string (uuid) | no | Optional staff filter within the authenticated tenant |
StaffPortalSchedule
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/schedule" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/manager/salon-scheduleGet the manager salon schedule
Manager/admin-only salon schedule view with tenant-wide staff, appointments, client details, assigned staff, appointment state, and permissions-aware editing controls.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| start_date | query | string (date) | yes | — |
| end_date | query | string (date) | no | — |
| target_staff_id | query | string (uuid) | no | — |
StaffPortalSchedule
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/manager/salon-schedule" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/appointmentsList staff portal appointments
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| window | query | string | no | —[upcoming, past] |
| status | query | string | no | — |
| staff_id | query | string (uuid) | no | Manager-only staff filter; staff members may only request their own id. |
| limit | query | integer | no | — |
StaffPortalAppointmentListResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/appointments" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/appointmentsCreate a staff portal appointment
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalAppointmentCreateRequest
StaffPortalAppointmentCreateResponse
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/appointments" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/booking-optionsList bookable services for a staff member
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| staff_id | query | string (uuid) | no | Manager-only target staff member. Defaults to the authenticated staff member. |
StaffPortalBookingOptionsResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/booking-options" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/active-servicesList active bookable services for the salon team
Lists active bookable services assigned to at least one active team member. Requires team appointment management permission.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalActiveServicesResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/active-services" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/customersSearch or inspect Customer 360 records
Searches customers within the authenticated staff member's permitted team scope. Pass customer_key to load one profile. Generic results exclude Care Vault and other protected health or sensitive history.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| q | query | string | no | Search by customer name, phone, or email |
| customer_key | query | string | no | Exact customer email or opaque anonymous customer key |
| limit | query | integer | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/customers" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/customers/notesAdd an internal customer note
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/customers/notes" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/customers/notes/{id}Update an internal customer note
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
| string | no | — |
object
curl -X PATCH \
"https://api.lumbu.pt/api/v2/staff-portal/customers/notes/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/customers/notes/{id}Delete an internal customer note
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
| string | no | — |
curl -X DELETE \
"https://api.lumbu.pt/api/v2/staff-portal/customers/notes/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/catalog/servicesList canonical services, prices, variants, and booking compatibility
Scope defaults to the authenticated professional. Team scope requires team appointment permission.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| scope | query | string | no | —[mine, team] |
| service_id | query | string (uuid) | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/catalog/services" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/catalog/availabilityCalculate real available slots for a service
Read-only availability calculation using canonical shifts, breaks, time off, appointments, buffers, variants, and tenant rules.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/catalog/availability" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/inventoryList read-only staff inventory visibility
Returns product, brand, category, SKU, location placeholder, quantity, and low-stock state. Cost and wholesale data are never returned.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| q | query | string | no | — |
| limit | query | integer | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/inventory" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/performanceGet personal operational performance metrics
Returns only the authenticated staff member's metrics. Revenue, earnings, commission, tips, and team-wide data are excluded.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| start | query | string (date) | no | — |
| end | query | string (date) | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/performance" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/appointments/upcomingList upcoming staff portal appointments
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| status | query | string | no | — |
| limit | query | integer | no | — |
StaffPortalAppointmentListResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/appointments/upcoming" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/appointments/pastList past staff portal appointments
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| status | query | string | no | — |
| limit | query | integer | no | — |
StaffPortalAppointmentListResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/appointments/past" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/follow-upsList my pending client follow-ups
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/follow-ups" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/follow-upsCreate an idempotent client follow-up
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/follow-ups" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/follow-ups/{id}Complete, reopen, or update a client follow-up
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
| string | no | — |
object
curl -X PATCH \
"https://api.lumbu.pt/api/v2/staff-portal/follow-ups/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/follow-ups/programmes/{id}Complete or dismiss a programme follow-up action
Manager-scoped transition for conversion, next-session, retention, and overdue programme actions.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
| string | no | — |
object
curl -X PATCH \
"https://api.lumbu.pt/api/v2/staff-portal/follow-ups/programmes/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/appointments/{id}Update a staff portal appointment status or duration
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
StaffPortalAppointmentUpdateRequest
StaffPortalAppointmentMutationResponse
curl -X PATCH \
"https://api.lumbu.pt/api/v2/staff-portal/appointments/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/availabilityGet my weekly staff availability
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalAvailabilityResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/availability" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/availabilityReplace my weekly staff availability
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalAvailabilityUpdateRequest
StaffPortalAvailabilityUpdateResponse
curl -X PUT \
"https://api.lumbu.pt/api/v2/staff-portal/availability" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/unavailabilityList my one-off unavailability blocks
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| start_at_gte | query | string (date-time) | no | — |
| start_at_lte | query | string (date-time) | no | — |
StaffPortalUnavailabilityListResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/unavailability" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/unavailabilityCreate a one-off unavailability block
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalUnavailabilityCreateRequest
StaffPortalUnavailabilityBlock
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/unavailability" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/unavailability/{id}Delete my one-off unavailability block
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
OkResponse
curl -X DELETE \
"https://api.lumbu.pt/api/v2/staff-portal/unavailability/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/time-offList my time-off requests
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| status | query | string | no | —[pending, approved, rejected, cancelled] |
| start_at_gte | query | string (date-time) | no | — |
| start_at_lte | query | string (date-time) | no | — |
StaffPortalTimeOffListResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/time-off" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/time-offRequest time off
Creates a time-off request for the authenticated staff member. If the tenant approval policy is auto-approve, Lumbu also creates the matching staff_time_off availability block before returning the approved request.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalTimeOffCreateRequest
StaffPortalTimeOffRequest
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/time-off" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/time-off/{id}Cancel my pending or approved time-off request
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
OkResponse
curl -X DELETE \
"https://api.lumbu.pt/api/v2/staff-portal/time-off/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/shift-swapsList my shift swap requests
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| status | query | string | no | — |
StaffPortalShiftSwapListResponse
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/shift-swaps" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/shift-swapsRequest a shift swap
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalShiftSwapCreateRequest
StaffPortalShiftSwapMutationResponse
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/shift-swaps" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/shift-swaps/{id}Accept or decline a received shift swap
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
StaffPortalShiftSwapRespondRequest
StaffPortalShiftSwapMutationResponse
curl -X PATCH \
"https://api.lumbu.pt/api/v2/staff-portal/shift-swaps/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/shift-swaps/{id}Cancel a requested shift swap while it is pending
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| id | path | string (uuid) | yes | — |
OkResponse
curl -X DELETE \
"https://api.lumbu.pt/api/v2/staff-portal/shift-swaps/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/approval-policyGet staff time-management approval policy
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
StaffPortalApprovalPolicy
curl -X GET \
"https://api.lumbu.pt/api/v2/staff-portal/approval-policy" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v2/staff-portal/approval-policyUpdate staff time-management approval policy
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
object
StaffPortalApprovalPolicy
curl -X PUT \
"https://api.lumbu.pt/api/v2/staff-portal/approval-policy" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v2/staff-portal/session/handoffExchange a canonical staff portal handoff
Consumes a host-bound handoff once and returns an opaque adapter session handle.
object
curl -X POST \
"https://api.lumbu.pt/api/v2/staff-portal/session/handoff" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/appointment-feedbackSubmit feedback for an appointment
Requires an appointment-scoped feedback access token. A token and appointment must belong to the authenticated tenant, the appointment must be completed and ended, and the token must be valid. Each appointment accepts one submission; duplicate submissions return 409.
SubmitAppointmentFeedbackRequest
Feedback
curl -X POST \
"https://api.lumbu.pt/api/v1/appointment-feedback" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/waitlistJoin the booking waitlist
Creates or reuses a tenant-scoped entry only after validating the service and staff. The caller must record explicit notification consent. A verified customer session is optional for visitors and binds signed-in entries to the canonical customer identity.
CreateWaitlistEntryRequest
WaitlistEntry
curl -X POST \
"https://api.lumbu.pt/api/v1/waitlist" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/auth/signinSign in with email and password
SignInRequest
SignInResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/auth/signin" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/auth/signupCreate a new customer account
SignUpRequest
SignUpResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/auth/signup" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/auth/magic-linkSend a passwordless magic link email
MagicLinkRequest
OkResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/auth/magic-link" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/auth/refreshRefresh an authentication token
RefreshRequest
RefreshResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/auth/refresh" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/gift-cards/validatePreview a gift card balance
Read-only, tenant-scoped balance inquiry. The tenant is derived from the verified API credential. Missing, foreign, expired, exhausted, checkout-held, and inactive cards return the same generic unavailable result. A valid response reports the persisted balance observed by this read; it does not reserve value, authorize payment, redeem the card, or settle an order. Gift-card spend and settlement must go through a checkout intent.
object
GiftCardValidationResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/gift-cards/validate" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/productsList products
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| active | query | string | no | Include active_for_sale products (defaults to true; false is not supported)[true] |
| category_id | query | string (uuid) | no | Filter by product category |
| updated_since | query | string (date-time) | no | Only return products updated on or after this timestamp |
PaginatedProductList
curl -X GET \
"https://api.lumbu.pt/api/v1/products" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/products/inventoryGet reservation-aware product availability
Returns purchase availability for published, active physical, digital, or service products in the authenticated tenant. Gift cards are excluded. Unknown, foreign, archived, unpublished, discontinued, and disabled products share the unavailable result. Inventory lookup failures fail the entire request.
ProductInventoryRequest
ProductInventoryResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/products/inventory" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/products/searchSearch published products
Searches eligible products for the authenticated tenant. Requires the products plugin. Provider failures return 503.
ProductSearchRequest
ProductSearchResponse
curl -X POST \
"https://api.lumbu.pt/api/v1/products/search" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/products/{id}Get product detail by ID or slug
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | Product UUID or slug |
ProductDetail
curl -X GET \
"https://api.lumbu.pt/api/v1/products/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/products/{id}/reviewsList public product reviews
Returns only approved reviews for a published product in the authenticated tenant.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | — |
| string | no | — | ||
| string | no | — |
curl -X GET \
"https://api.lumbu.pt/api/v1/products/{id}/reviews" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/products/{id}/verify-purchaseVerify a customer's product purchase
Requires a tenant customer session. Returns only a boolean for a paid or partially refunded order and does not disclose order details.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | — |
| x-lumbu-customer-token | header | string | yes | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/products/{id}/verify-purchase" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/products/{id}/reviews/submitSubmit a verified product review
Requires a tenant customer session and a paid or partially refunded order containing the published product. Fully refunded orders are ineligible. New reviews remain pending moderation.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | — |
| x-lumbu-customer-token | header | string | yes | — |
object
curl -X POST \
"https://api.lumbu.pt/api/v1/products/{id}/reviews/submit" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/product-categoriesList product categories with product counts
/api/v1/appointmentsList appointments
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| start_at_gte | query | string (date-time) | no | Filter appointments starting on or after this timestamp |
| start_at_lte | query | string (date-time) | no | Filter appointments starting on or before this timestamp |
| status | query | string | no | Filter by appointment status[requested, confirmed, cancelled, completed, no_show] |
| location_id | query | string (uuid) | no | Filter by location ID |
| staff_id | query | string (uuid) | no | Filter by staff ID |
| service_id | query | string (uuid) | no | Filter by service ID |
| updated_since | query | string (date-time) | no | Only return appointments updated on or after this timestamp |
PaginatedAppointmentList
curl -X GET \
"https://api.lumbu.pt/api/v1/appointments" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/appointment-feedbackList appointment feedback entries
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| appointment_id | query | string (uuid) | no | Filter by appointment ID |
| x-lumbu-customer-token | header | string | no | Optional verified passwordless customer session. When present, results are limited to feedback for that customer's own visible, undeleted appointments. |
| updated_since | query | string (date-time) | no | Only return feedback updated on or after this timestamp |
PaginatedFeedbackList
curl -X GET \
"https://api.lumbu.pt/api/v1/appointment-feedback" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/locationsList locations
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| is_active | query | string | no | Filter by active status[true, false] |
| updated_since | query | string (date-time) | no | Only return locations updated on or after this timestamp |
PaginatedLocationList
curl -X GET \
"https://api.lumbu.pt/api/v1/locations" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/waitlistList waitlist entries
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — | ||
| string | no | — | ||
| location_id | query | string (uuid) | no | Filter by location ID |
| service_id | query | string (uuid) | no | Filter by service ID |
| staff_id | query | string (uuid) | no | Filter by staff ID |
| created_at_gte | query | string (date-time) | no | Filter entries created on or after this timestamp |
| created_at_lte | query | string (date-time) | no | Filter entries created on or before this timestamp |
PaginatedWaitlistList
curl -X GET \
"https://api.lumbu.pt/api/v1/waitlist" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/orders/lookupLook up an order with an active guest access token
OrderLookupRequest
Order
curl -X POST \
"https://api.lumbu.pt/api/v1/orders/lookup" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/webhooksList webhook subscriptions
Requires an integration credential with scope webhooks:read and the webhooks plugin.
curl -X GET \
"https://api.lumbu.pt/api/v1/webhooks" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/webhooksRegister a new webhook subscription
Requires an integration credential with scope webhooks:write and the webhooks plugin.
CreateWebhookRequest
WebhookSubscriptionCreated
curl -X POST \
"https://api.lumbu.pt/api/v1/webhooks" \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'/api/v1/webhooks/{id}Delete a webhook subscription
Requires an integration credential with scope webhooks:write and the webhooks plugin.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | yes | Webhook subscription ID |
OkResponse
curl -X DELETE \
"https://api.lumbu.pt/api/v1/webhooks/{id}" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/referral/ownerGet or create the authenticated customer's referral code
Returns the referral code owned by the customer session supplied in `x-lumbu-customer-token`, creating it when needed. The tenant is derived from the tenant API key and the customer identity is verified in that tenant. Email query or body input is not accepted or used for authorization.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| string | no | — |
ReferralOwnerCodeResponse
curl -X GET \
"https://api.lumbu.pt/api/v1/referral/owner" \
-H "Authorization: Bearer {YOUR_API_KEY}"/api/v1/referral/validateValidate a referral code format
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| code | query | string | yes | Referral code to validate (alphanumeric, 3-50 chars, hyphens/underscores allowed) |
ReferralValidationResponse
curl -X GET \
"https://api.lumbu.pt/api/v1/referral/validate" \
-H "Authorization: Bearer {YOUR_API_KEY}"