Web services
Connect a website, a reporting tool or another application to your Kash.click shop. Web services are available with the free licence.
Start with authentication
In the shop you want to connect, enable web services in General settings and ask a shop administrator for a dedicated API key with the permissions the integration needs.
For a Partner API v1 route, send the managed key as a Bearer token and pass the shop ID in shop_id. For a legacy /workers/ route, check where its contract expects key and shopID.
Integration tutorials
Create an API key, run a complete Node.js or Python script and verify the result.
Sales and orders
- Calculate a cart before recording a sale
- Find an order, attach an external reference and postpone it
- Sale creation reference
POST /workers/webapp.php - List, retrieve and track orders
- Download recorded orders
- Edit an order
Invoices, reports and registers
- Read cash sessions, discrepancies and payment reconciliation
- Read sales metrics and retrieve invoice and credit note documents
- Download sales reports
Data and catalogue
- Read shop reference data and orders with Partner API v1
- List products and sync changes
- Manage catalogue items
- Import catalogue data or export sales asynchronously
Customers and benefits
- Manage customer records
- Check and issue coupons and personal vouchers
- Use loyalty points and gift cards in a sale
Receive webhooks
- Incoming webhooks: events, payloads, signatures and retries
- Configure webhooks and inspect or retry deliveries
Shop, administration and email
- Read shop settings
- Create and set up a shop
- Read and send shop email and manage folders via the API
- Request encoding and other web service usage notes
API route reference
Partner API v1 OpenAPI contract · Full reference including legacy routes
Authentication
-
Exchange an active administrator legacy login and password for shop API credentials
POST /workers/getAuthTokenWithPassword.php -
Request email confirmation before discovering API accounts
POST /workers/getOTPForAccount.php -
Confirm email and exchange a selected administrator profile for API credentials
POST /workers/getAuthTokenWithOTP.php -
Exchange an active administrator legacy login and password for shop API credentials
POST /workers/getAuthToken.php
Sales and orders
-
Create a quote, invoice, or paid sale
POST /workers/webapp.php -
Lister les commandes
GET /api/partner/v1/orders -
Consulter le cycle d’une commande
GET /api/partner/v1/orders/{order_id} -
Edit an existing order
POST /workers/editOrder.php -
Calculer le prix d’un panier
POST /api/partner/v1/cart-quotes -
Retrouver une commande par référence externe
GET /api/partner/v1/orders/by-external-reference -
Rattacher une référence externe à une commande
PUT /api/partner/v1/orders/{order_id}/external-references -
Exécuter une action sur une commande
POST /api/partner/v1/orders/{order_id}/transitions/{action} -
Lister les modes de paiement
GET /api/partner/v1/payment-methods -
Commandes en attente
GET /api/partner/v1/orders/pending -
Contenu d’une commande
GET /api/partner/v1/orders/contents
Invoices, reports and registers
-
Consulter les documents d’une facture et ses avoirs liés
GET /api/partner/v1/invoices/{id}/documents -
Télécharger un document de facture ou d’avoir
GET /api/partner/v1/invoices/{id}/documents/{document_id} -
Consulter les indicateurs de vente
GET /api/partner/v1/reports/sales-summary -
Demander un export des ventes
POST /api/partner/v1/exports -
Lister les clôtures enregistrées
GET /api/partner/v1/day-closings -
Consulter une clôture enregistrée
GET /api/partner/v1/day-closings/{id} -
Consulter le détail des sessions et clôtures de caisse
GET /api/partner/v1/cash-sessions -
Rapprocher les versements et les paiements
GET /api/partner/v1/reconciliation -
Rapport de ventes
GET /api/partner/v1/reports/sales
Data and catalogue
-
Lister les articles
GET /api/partner/v1/products -
Lire le flux de changements
GET /api/partner/v1/changes -
Lister les rayons
GET /api/partner/v1/departments -
Lister les taux de TVA
GET /api/partner/v1/vat-rates -
Demander une prévisualisation d’import du catalogue
POST /api/partner/v1/imports -
Consulter une opération
GET /api/partner/v1/operations/{id} -
Confirmer l’application de l’import prévisualisé
POST /api/partner/v1/operations/{id}/confirm -
Récupérer un fichier ou lire les résultats ligne par ligne
GET /api/partner/v1/operations/{id}/result -
Groupes de rayons
GET /api/partner/v1/department-groups -
Déclinaisons d’articles
GET /api/partner/v1/product-variants -
Réductions
GET /api/partner/v1/discounts -
add Plu
POST /workers/addPlu.php -
add Dept
POST /workers/addDept.php -
add Vat
POST /workers/addVat.php -
edit Plu
POST /workers/editPlu.php -
del Plu
POST /workers/delPlu.php -
edit Dept
POST /workers/editDept.php -
del Dept
POST /workers/delDept.php -
add GrpDept
POST /workers/addGrpDept.php -
edit GrpDept
POST /workers/editGrpDept.php -
del GrpDept
POST /workers/delGrpDept.php -
add Variation
POST /workers/addVariation.php -
edit Variation
POST /workers/editVariation.php -
del Variation
POST /workers/delVariation.php -
add VariationItem
POST /workers/addVariationItem.php -
edit VariationItem
POST /workers/editVariationItem.php -
del VariationItem
POST /workers/delVariationItem.php -
edit Vat
POST /workers/editVat.php -
del Vat
POST /workers/delVat.php
Customers and benefits
-
Lister les clients
GET /api/partner/v1/customers -
add Client
POST /workers/addClient.php -
edit Client
POST /workers/editClient.php -
del Client
POST /workers/delClient.php -
Consulter le programme de fidélité
GET /api/partner/v1/loyalty/program -
Consulter le compte de fidélité
GET /api/partner/v1/loyalty/customers/{customer_id} -
Lister les mouvements connus
GET /api/partner/v1/loyalty/customers/{customer_id}/movements -
Estimer la fidélité sur un panier
POST /api/partner/v1/loyalty/quotes -
Vérifier une carte cadeau
POST /api/partner/v1/gift-cards/check -
Consulter les règlements connus d’une carte cadeau
POST /api/partner/v1/gift-cards/movements -
Vérifier un coupon et estimer son effet sur un panier
POST /api/partner/v1/coupons/check -
Émettre un coupon à code
POST /api/partner/v1/coupons -
Lister les bons personnels d’un client
GET /api/partner/v1/personal-vouchers/customers/{customer_id} -
Émettre un bon personnel
POST /api/partner/v1/personal-vouchers/customers/{customer_id} -
Estimer la remise personnelle sur un panier
POST /api/partner/v1/personal-vouchers/quotes
Webhooks
Shop and administration
-
Update shop configuration
POST /workers/editShop.php -
Create and initialize a shop with verified identity (API v2)
POST /workers/createShop.php -
List profiles only after confirming their email address
POST /workers/listShops.php -
Create a new shop account
POST /workers/addShop.php -
Collaborateurs
GET /api/partner/v1/users -
Caisses
GET /api/partner/v1/cash-registers -
Tables
GET /api/partner/v1/tables -
Modes de livraison
GET /api/partner/v1/delivery-methods -
Zones de livraison
GET /api/partner/v1/delivery-zones -
Points de retrait
GET /api/partner/v1/pickup-points -
Configuration de la boutique
GET /api/partner/v1/shop-settings -
add PaymentMethod
POST /workers/addPaymentMethod.php -
del PaymentMethod
POST /workers/delPaymentMethod.php -
add collaborator access
POST /workers/addUser.php -
edit collaborator access
POST /workers/editUser.php -
del collaborator access
POST /workers/delUser.php -
Manage generated API keys in the connected shop
POST /workers/apiKeys.php -
Manage webhooks through the administrator session
POST /workers/webhooksAdmin.php
-
Messagerie de la boutique
GET /api/partner/v1/mailbox -
Messages de la boutique
GET /api/partner/v1/mailbox/messages -
Détail d’un message
GET /api/partner/v1/mailbox/message -
Réponses à un message
GET /api/partner/v1/mailbox/replies -
Pièce jointe de messagerie
GET /api/partner/v1/mailbox/attachment -
Dossiers de messagerie
GET /api/partner/v1/mailbox/folders -
Rechercher un client dans la messagerie
GET /api/partner/v1/mailbox/customers/search -
Identifier le client d’un message
GET /api/partner/v1/mailbox/customer -
Send email from the shop mailbox
POST /workers/sendMailboxMessage.php -
Reply to a received email using its recorded recipient
POST /workers/replyMailboxMessage.php -
Set received email read/reply states atomically
POST /workers/editMailboxMessage.php -
Move received email into a shop folder or main inbox
POST /workers/moveMailboxMessage.php -
Create a folder or return the existing same-name folder
POST /workers/addMailboxFolder.php -
Rename an existing shop folder
POST /workers/editMailboxFolder.php -
Delete a folder, preserving its emails in the main inbox
POST /workers/delMailboxFolder.php