Skip to content

Backend API Routes

All admin routes require authentication (AUTHENTICATE=true).

MethodEndpointPurpose
GET/admin/aplt/ordersList orders with pagination/search
POST/admin/aplt/ordersCreate order
PUT/admin/aplt/ordersUpdate order
DELETE/admin/aplt/ordersDelete order
GET/POST/admin/aplt/orders/linesOrder line items CRUD
GET/admin/aplt/orders/pdfGenerate order PDF
POST/admin/aplt/orders/emlDownload .eml with PDF attached
POST/admin/aplt/orders/shippingManage shipping info
POST/admin/aplt/orders/statusUpdate order status
MethodEndpointPurpose
GET/admin/aplt/quotationsList quotations
POST/admin/aplt/quotationsCreate quotation
PUT/admin/aplt/quotationsUpdate quotation
DELETE/admin/aplt/quotationsDelete quotation
GET/POST/admin/aplt/quotations/linesLine items CRUD
POST/admin/aplt/quotations/lines/generateAI-generate lines
GET/admin/aplt/quotations/pdfGenerate PDF
POST/admin/aplt/quotations/emlDownload .eml with PDF attached
POST/admin/aplt/quotations/confirmConvert to order
POST/admin/aplt/quotations/shippingShipping calculations
MethodEndpointPurpose
GET/POST/admin/aplt/invoicesInvoice CRUD
GET/admin/aplt/invoices/pdfGenerate invoice PDF
POST/admin/aplt/invoices/emlDownload .eml with PDF attached
GET/POST/admin/aplt/credit-notesCredit note CRUD
GET/admin/aplt/credit-notes/pdfGenerate credit note PDF
MethodEndpointPurpose
GET/admin/aplt/productsList products with filters
GET/POST/admin/aplt/products/[sku]Single product operations
POST/admin/aplt/products/copyClone product
GET/admin/aplt/product-techniquesProduct techniques
POST/admin/aplt/technique-pricingSet technique pricing
MethodEndpointPurpose
GET/POST/admin/aplt/customersCustomer CRUD
GET/POST/admin/aplt/leadsLead management
POST/admin/aplt/leads/activitiesLog lead activity
POST/admin/aplt/leads/tasksCreate lead task
MethodEndpointPurpose
GET/POST/admin/aplt/paymentsPayment tracking
GET/POST/admin/aplt/subscriptionsSubscription management
POST/admin/aplt/subscriptions/generateAuto-generate invoices
GET/POST/admin/aplt/discount-groupsDiscount configurations
GET/POST/admin/aplt/vat-codesVAT rates
GET/POST/admin/aplt/reportsReporting data
MethodEndpointPurpose
GET/POST/admin/connectorsList/configure connectors
POST/admin/connectors/syncTrigger supplier sync
POST/admin/connectors/conversionData format conversion
POST/admin/connectors/medusa-syncSync to Medusa tables
MethodEndpointPurpose
GET/POST/admin/cms/pagesCMS page CRUD
GET/POST/admin/cms/settingsCMS settings
GET/POST/admin/cms/footerFooter configuration
GET/POST/admin/cms-modulesCMS modules
GET/POST/admin/page-managerPage layout management
GET/POST/admin/menu-managerMenu management
POST/admin/brand-wizardBrand configuration
POST/admin/brand-uploadBrand asset upload
MethodEndpointPurpose
GET/POST/admin/dev-projectsProject CRUD
POST/admin/dev-projects/filesTrack project files
POST/admin/dev-projects/changelogLog changes
POST/admin/dev-projects/commitGit commit
GET/admin/dev-projects/diffFile diff
POST/admin/dev-projects/rebuildRebuild containers
GET/admin/dev-projects/browseBrowse project files
MethodEndpointPurpose
GET/POST/admin/aplt/access-requestsAccess request CRUD
GET/PUT/admin/aplt/access-requests/[id]Single request operations
MethodEndpointPurpose
GET/POST/admin/aplt/chloe-productChloe integration (products)
GET/POST/admin/aplt/chloe-orderChloe integration (orders, 50MB limit)
GET/POST/admin/aplt/chloe-customerChloe integration (customer)
MethodEndpointPurpose
POST/admin/aplt/ai-generate-linesAI-powered line generation for all document types
POST/admin/aplt/wayne-assistAI assistant endpoint
POST/admin/agent/product-searchAI agent product search
MethodEndpointPurpose
GET/admin/aplt/app-versionApplication version info
GET/POST/admin/aplt/document-chainDocument relationships/linking
POST/admin/aplt/migrationsData migrations
POST/admin/aplt/sync-to-sales-channelSync to Medusa sales channel
GET/POST/admin/customCustom admin routes

Public endpoints (no authentication required, AUTHENTICATE=false).

MethodEndpointPurpose
POST/auth/[actor_type]/[auth_provider]/reset-passwordGenerate reset token & send email

Custom override van het standaard Medusa reset-password endpoint. Stuurt een branded e-mail met reset-link via nodemailer (SMTP: mail.magiceverse.nl).

Request body:

{ "identifier": "user@example.com" }

Gedrag:

  • Genereert een JWT reset token (15 min geldig) via generateResetPasswordTokenWorkflow
  • Stuurt een branded HTML e-mail naar het opgegeven adres met een reset-link
  • Retourneert altijd 201 Created (ook als het e-mailadres niet bestaat, om information leakage te voorkomen)
  • Reset-link verwijst naar /app/reset-password?token=...&email=...

Locatie: backend/src/api/auth/[actor_type]/[auth_provider]/reset-password/route.ts


Public endpoints (no authentication required).

MethodEndpointPurpose
GET/store/aplt/productsList products (search, filters)
GET/store/aplt/products/[sku]Product details
GET/store/aplt/products/[sku]/techniquesProduct techniques
GET/store/aplt/categoriesProduct categories
MethodEndpointPurpose
GET/store/cmsPages, settings, footer (multi-lang)
GET/store/mega-menuNavigation menu
MethodEndpointPurpose
GET/store/access-checkCheck IP access status
POST/store/access-requestRequest store access
GET/store/customer-logosCustomer logos
GET/store/customer-logos/activeActive customer logos
GET/store/agent-contextAI agent context
MethodEndpointPurpose
GET/store/sales-channels/bulk-productsBulk product listing
MethodEndpointPurpose
GET/POST/store/customCustom store routes
GET/POST/store/aplt/quotationsCustomer quote requests
POST/store/aplt/quotations/linesAdd items to quote

MethodEndpointPurpose
GET/api/branding/logo.pngBrand logo
GET/api/products/images/[supplier]/[filename]Product images (auth)
GET/api/static/products/[supplier]/[filename]Product images (public)