The business this API key belongs to.
Fieldsid, name, currency, country, slug, status
Every public endpoint, its required scope, and the safe fields it returns. All paths are relative to https://api.luxpos.lu/api/v1 and need a Bearer API key. Prefer clicking through requests? Use the interactive API Reference.
71 endpoints · 14 resourcesScopes and security model
The business your key belongs to and its branches.
The business this API key belongs to.
Fieldsid, name, currency, country, slug, status
List business locations / branches (paginated).
Querypagelimit
Fieldsid, locationNumber, name, code, street, houseNumber, city, postalCode, country, phone, email, vatNumber, latitude, longitude, isHeadquarters, isActive, createdAt
Get a single location / branch.
FieldsSame fields as the location list.
Read the catalogue and per-location stock; create products and post signed stock adjustments.
List products (paginated).
QuerycategoryIdsearchpagelimit
FieldsCatalogue fields: id, name, description, sellingPrice, sku, ean, categoryId, images (array of image URLs), isForSale, stockQuantity …
Get a single product (same fields as the list, incl. images[]).
All product categories (flat list, ordered by position).
Per-location stock for a product.
FieldsproductId, trackInventory, totalQuantity, lowStockAlert, locations[locationId, locationName, locationNumber, quantity, lowStockAlert, updatedAt]
Create a product.
Body and responseBody: name, sellingPrice, description?, sku?, ean?, purchasePrice?, vatRate?, vatPercent?, trackInventory?, stockQuantity?, lowStockAlert?, categoryId?, folderIds? (product folder UUIDs to file it under), images? (array of image URLs), isForSale?
IdempotentSend an Idempotency-Key header to safely retry.
Update a product.
Body and responseBody: any of the create fields. images? (array of URLs) replaces the whole image list. folderIds? (array of folder UUIDs) replaces the product's folder assignment ([] removes it from all folders).
Upload an image file (multipart/form-data, field "image", ≤10MB jpeg/png/gif/webp) and append it to the product's images[].
Body and responseBody (multipart): image=<file>. Returns: the updated product with the new URL appended to images[].
Delete a product (soft delete, lets you walk back a bad bulk import). Returns 204.
Adjust stock by a signed delta (writes an inventory audit log).
Body and responseBody: delta (signed int), locationId?, reason?, note?. Returns: productId, locationId, delta, totalQuantity, locationQuantity
IdempotentSend an Idempotency-Key header to safely retry.
Create a product category, top-level or nested under a parent via parentId.
Body and responseBody: name, description?, image? (URL), color?, parentId? (nest under an existing category), sortOrder?. Returns: the created category (id, name, parentId, path, …).
IdempotentSend an Idempotency-Key header to safely retry.
Update a category: rename, recolor, or reparent it.
Body and responseBody: name?, description?, image?, color?, sortOrder?, parentId? (reparent; pass null to move to top level, the subtree path is rewritten).
Delete a category. Fails (400) if it has active products; use ?force=true to delete one that still has empty sub-categories. Returns 204.
Queryforce
Organise the catalogue into a folder tree (dossiers), separate from product categories. Create folders, nest sub-folders, and file products into them during a bulk import.
List product folders (flat, ordered by sort position).
Fieldsid, name, color, icon, isVisible, sortOrder, parentId, path, productCount
Product folders as a nested tree (parent → children).
FieldsEach node: id, name, color, icon, isVisible, sortOrder, parentId, path, productCount, children[] (recursive).
Create a folder, top-level or nested under a parent via parentId.
Body and responseBody: name, color?, icon?, parentId? (nest under an existing folder), sortOrder?, isVisible?. Returns: the created folder (id, name, color, icon, isVisible, sortOrder, parentId, path).
Update a folder: rename, recolor, re-icon, toggle visibility, or reparent it.
Body and responseBody: name?, color?, icon?, isVisible?, sortOrder?, parentId? (reparent; pass null to move to top level, the subtree path is rewritten).
Delete a folder. Fails (400) if it has sub-folders; use ?force=true to delete one with sub-folders. Returns 204.
Queryforce
Assign products to a folder (replaces the folder's product set).
Body and responseBody: productIds (array of product UUIDs). Returns: the updated folder (id, name, …, productCount).
Read profiles and visit history; create and link customers without duplicating people.
List customers (paginated).
Querysearchpagelimit
Get a single customer with visit history.
Create a customer (links to an existing person by email/phone instead of duplicating).
IdempotentSend an Idempotency-Key header to safely retry.
Update a customer that belongs to your business.
The raw ledger of the register: every POS sale, line item, and cash-drawer session.
List POS transactions (paginated).
Queryfromtopagelimit
Get a single transaction with its line items.
List POS sessions (paginated).
Queryfromtopagelimit
Get a single POS session with its transactions.
Aggregated revenue reports and breakdowns, ready to drop into a dashboard.
Revenue summary KPIs for a date range.
Queryfromto
Revenue broken down by product.
Queryfromto
Revenue broken down by product category.
Queryfromto
Revenue broken down by cashier.
Queryfromto
Monthly aggregated revenue grid.
Queryfromto
Issued sales invoices with line items, for accounting and reconciliation.
List sales invoices (paginated). Filter by customerId, buyerEmail (exact, case-insensitive) or externalRef to find a specific document instead of paging through everything. Every filter is applied inside your own business only.
QueryfromtostatuscustomerIdbuyerEmailexternalRefpagelimit
Fieldsid, locationId, customerId, invoiceNumber, invoiceType, status, creditNoteId (the invoice a CREDIT_NOTE credits), externalRef (your own reference), invoiceDate, dueDate, paidAt, buyerName, subtotalNet, totalVat, totalGross, discount, totalAmount, currency, exchangeRate, baseAmount (EUR-equivalent of totalAmount), structuredCommunication, createdAt
Get a single sales invoice with line items and VAT breakdown.
FieldsList fields (incl. currency, exchangeRate, baseAmount) + buyer address, buyerVatNumber, vatInclusive, paymentMethod, notes, customerNotes, pdfUrl (stable capability link), pdfDownloadUrl (fresh 15-min presigned URL, null until the PDF exists), items[], vatBreakdown[]. Never Stripe ids, fees or netPayoutAmount.
Get a fresh, short-lived download URL for the invoice PDF. Returns { url, expiresIn: 900 }, a NEW presigned URL each call (valid 15 min). Invoice PDFs are private; direct object URLs are no longer public, so fetch a link here on demand instead of storing one.
Create a sales invoice (draft, or finalized when finalize=true). Pass currency (ISO-4217, e.g. "USD") to bill in a foreign currency. Conversion to EUR is automatic (ECB rate on the invoice date) and returned as exchangeRate + baseAmount.
Body and responseBody: buyerName, items[] (description, quantity, unitPrice, vatPercent?, discount?), customerId?, buyer address/VAT?, invoiceDate?, dueDate?, invoiceType?, vatInclusive?, discount?, notes?, currency? (3-letter ISO-4217, default EUR), externalRef? (max 128 chars, your own reference, filterable), finalize?. Returns: the invoice incl. currency, exchangeRate, baseAmount, customerId, externalRef.
IdempotentSend an Idempotency-Key header to safely retry.
Issue a credit note (Avoir) for a confirmed or paid invoice. IMPORTANT: a credit note is stored with POSITIVE amounts, exactly like an invoice. Subtract it in your own books via invoiceType === CREDIT_NOTE. Never expect negative numbers.
Body and responseBody (all optional, an empty body is valid): externalRef? (not inherited from the credited invoice), notes? (defaults to “Credit note for invoice <number>”), finalize? (assigns the sequential number, renders the PDF and settles the original when fully covered). Returns: the credit note, with creditNoteId pointing at the invoice it credits.
IdempotentSend an Idempotency-Key header to safely retry.
Update a draft sales invoice.
Body and responseBody: same optional buyer/date/type/discount/notes fields as create, plus externalRef? (empty string clears it).
Purchase and cost records for bookkeeping.
List expenses (paginated).
QuerystatuscategoryIdfromtosearchpagelimit
Fieldsid, expenseNumber, description, amount, netAmount, vatAmount, vatPercent, expenseDate, status, categoryId, category, vendorName, vendorVatNumber, paymentMethod, notes, isRecurring, paidAt, createdAt
Get a single expense.
Create an expense (draft).
IdempotentSend an Idempotency-Key header to safely retry.
Update a draft expense.
Delete a draft expense.
Period tax overview: revenue, deductible VAT, net liability, and P&L.
Tax overview for a period (revenue, deductible VAT, net liability, P&L).
Querytypeyearmonthquarter
Read-only bank accounts and the reconciled transaction feed.
List bank accounts (paginated).
Querypagelimit
Fieldsid, name, iban, currency, provider, institutionName, status, lastSyncedAt, createdAt. Never the provider/connection ids.
Get a single bank account.
List bank transactions (paginated).
QueryaccountIdstatusfromtopagelimit
Fieldsid, bankAccountId, bookedAt, valueDate, amount, currency, counterpartyName, counterpartyIban, remittance, structuredComm, status, matchedInvoiceId, createdAt. Never the raw provider payload.
Get a single bank transaction.
The team roster, safe fields only.
List staff (id, name, role only, never email or phone).
Fieldsid, firstName, lastName, title, order, isActive
Loyalty cards and members with their live points and stamp balances.
List loyalty cards / members (paginated).
Querypagelimit
Fieldsid, code, currentStamps, totalStamps, rewardsRedeemed, points, appointmentsCompleted, spinTokens, lastVisitAt, isActive, createdAt, customer{id, firstName, lastName}
Get a single loyalty card.
Resolve a scanned wallet-pass QR / card code to the member and their live balance.
FieldscardId, code, customerId, firstName, lastName, type, points, currentStamps, stampsRequired, rewardDescription, rewardReady
Add stamps at checkout. Auto-resets a full card and mints the reward coupon; the wallet pass updates automatically.
Remove stamps (correction).
Adjust points by a signed delta (earn on the ticket total, or deduct). Balance floors at 0.
Redeem a full stamp card: deducts the required stamps and returns the reward for the till to apply.
Redeem a single-use loyalty coupon by its code.
Build a full website programmatically: branding, source code (CSS / head HTML / JS), pages (visual blocks OR raw HTML), themes and publishing. The site is created on first use. Requires the Shop entitlement.
Get the site config + page list. Creates the site (with default pages) on first call.
Fieldsid, isEnabled, siteName, logoUrl, faviconUrl, primaryColor, secondaryColor, accentColor, fontFamily, heroImageUrl, metaTitle, metaDescription, ogImageUrl, footerText, socialLinks, customCss, customHeadHtml, customJs, themeId, pages[], customDomain
Update branding, source code and SEO. Set isEnabled=true to publish the whole site.
Body and responseBody (all optional): isEnabled, siteName, logoUrl, faviconUrl, primaryColor, secondaryColor, accentColor, fontFamily, heroImageUrl, metaTitle, metaDescription, ogImageUrl, footerText, socialLinks, googleAnalyticsId, facebookPixelId, customCss, customHeadHtml (injected in <head>), customJs (before </body>).
List all pages, ordered.
Get a single page by slug.
Fieldsid, title, slug, isHome, isPublished, showInNav, order, metaTitle, metaDescription, ogImageUrl, blocks[], renderMode ('BLOCKS'|'CODE'), customHtml
Create a page. Provide `blocks` for the visual builder, OR renderMode='CODE' + customHtml for a raw-HTML page.
Body and responseBody: title, slug, showInNav?, isPublished?, metaTitle?, metaDescription?, renderMode? ('BLOCKS'|'CODE'), blocks? (array of { type, order, config }, see /public/site/block-types), customHtml? (required when renderMode='CODE'). Max 10 custom pages.
IdempotentSend an Idempotency-Key header to safely retry.
Update a page: replace its blocks, switch to CODE mode, edit SEO, publish/unpublish, toggle nav, reorder.
Body and responseBody (all optional): title, slug, isPublished, showInNav, order, metaTitle, metaDescription, ogImageUrl, renderMode ('BLOCKS'|'CODE'), blocks (replaces the whole array), customHtml (required when setting renderMode='CODE').
Delete a page. Fixed pages (home/services/gallery/blog/contact/booking) cannot be deleted, unpublish them instead. Returns 204.
List available themes with their design tokens and editable source code (css / headHtml / js).
Fieldsid, key, name, description, previewImageUrl, tokens, pages, css, headHtml, js, price
Apply a theme: maps its tokens + source code onto the site and clones its pages (existing pages kept; slug collisions get a numeric suffix).
Body and responseBody: themeKey (e.g. 'starter' or 'vitrine'). Returns: the updated site with pages.
IdempotentSend an Idempotency-Key header to safely retry.
Catalog of every block type and its default config: the shape a client (or an AI) needs to fill a page's blocks[].
Fieldsblocks[]: { type, category, description, defaultConfig }
Online shop settings (storefront). Products themselves are managed via the Products endpoints (products:write). Requires the Shop entitlement.
Get the shop settings for your business. 404 until a shop is created via PATCH.
Fieldsid, slug, name, description, mode (B2C|B2B|HYBRID), currency, status, primaryColor, logoUrl, bannerUrl, offersShipping, shippingFlatRate, freeShippingAbove, offersPickup, pickupAddress, showPricesToGuests, b2bRequireApproval, sellsServices, sellsGiftCards, invoiceMode, siteId, locationId, metaTitle, metaDescription, productCount
Upsert the shop: creates it on the first call (name defaults to the business name), then updates it. Set status=ACTIVE to publish. Link a builder site with siteId.
Body and responseBody (all optional): name, mode, slug, description, primaryColor, currency, offersShipping, shippingFlatRate, freeShippingAbove, offersPickup, pickupAddress, invoiceMode, sellsServices, sellsGiftCards, showPricesToGuests, b2bRequireApproval, status, logoUrl, bannerUrl, siteId (your WhiteLabelSite id), locationId, metaTitle, metaDescription.
IdempotentSend an Idempotency-Key header to safely retry.