Download the list of your saved orders
Base URL: https://www.free-cash-register.net/workers/getOrders.php
| Name | Type | Necessary | Description |
|---|---|---|---|
idboutique | string | Yes | Shop Account ID (SHOPID) |
key | string | Yes | Your token (APIKEY) |
validatedOrders | bool | No | Orders / Quotes |
from_date_ISO8601 | string (ISO8601 date) | No | Period start |
to_date_ISO8601 | string (ISO8601 date) | No | Period end |
filterDeliveryMethod | int [0...6] | No | If provided, only orders of the specified delivery method will be shown |
function buildUrl(path, params){ const qs = new URLSearchParams(params); return `${path}?${qs.toString()}`;}const SHOPID = "[SHOPID]";const APIKEY = "[APIKEY]";// 1) Export des commandesconst urlCsv = buildUrl("https://www.free-cash-register.net/workers/getSales.php", { idboutique: SHOPID, key: APIKEY, from_date_ISO8601: '2025-10-26T00:00:00Z', to_date_ISO8601: '2025-10-26T23:59:59Z'});fetch(urlCsv).then(r=>r.text()).then(csv=>console.log(csv));
This document is made available under the terms of the licence Creative Commons Attribution 4.0 International (CC BY 4.0) .