Aide Caisse enregistreuse : Télécharger les données

Free cash register

Free-cash-register.net, free online POS software since 2014

Follow Us

Cash Register Help Center

This help will guide you through the setup and usage of our point of sale cash register software.

Download your data

Download list of items, departments, clients, etc

All of the following endpoints accept &format=json, &format=csv, or &format=html.

Endpoints disponibles

RessourceEndpoint
Items/workers/getPlus.php
Departments/workers/getDepartments.php
Department groups/workers/getDepartmentGroups.php
Clients/workers/getClients.php
Variations of items/workers/getDeclinaisons.php
Delivery methods/workers/getLivraisons.php
Payment methods/workers/getPaymentModes.php
Cashboxes/workers/getCashbox.php
Delivery zones/areas/workers/getDeliveryZones.php
Relay point/workers/getRelayDeposit.php
Discounts/workers/getDiscounts.php
Users/workers/getUsers.php
Tables/workers/getTables.php
Pending orders/workers/getPending.php

URL pattern

https://www.free-cash-register.net/workers/[endpoint].php?idboutique=[SHOPID]&key=[APIKEY]&format=[csv|json|html]

JavaScript Examples

function buildUrl(path, params){ const qs = new URLSearchParams(params); return `${path}?${qs.toString()}`;}async function fetchResource(endpoint, format = "json"){ const url = buildUrl(`https://www.free-cash-register.net/workers/${endpoint}.php`, {  idboutique: SHOPID,  key: APIKEY,  format }); const res = await fetch(url); return format === "json" ? res.json() : res.text();}// 1) Items in JSONfetchResource("getPlus", "json").then(data => console.log("Articles:", data));// 2) Clients in CSVfetchResource("getClients", "csv").then(csv => console.log("Clients (CSV):\n", csv));// 3) Depts in HTML (injection)fetchResource("getDepartments", "html").then(html => { document.getElementById("rayons").innerHTML = html;});
Register now
Licence Creative Commons This document is made available under the terms of the licence Creative Commons Attribution 4.0 International (CC BY 4.0) .