Free cash register

Kash.click, free online POS software since 2011

Follow Us

L’aide, à portée de main

Comment pouvons-nous vous aider ?

Un réglage, une question, un geste du quotidien. Trouvez le bon guide et avancez simplement.

API / Web services

Download your sales

Download the list of your saved orders

GET /workers/getOrders.php

Base URL: https://kash.click/workers/getOrders.php

Settings

NameTypeRequiredDescription
shopIDstringYesShop Account ID (SHOPID)
keystringYesYour token (APIKEY)
validatedOrdersboolNoOrders / Quotes
from_date_ISO8601string (ISO8601 date)NoPeriod start
to_date_ISO8601string (ISO8601 date)NoPeriod end
filterDeliveryMethodint [0...6]NoIf provided, only orders of the specified delivery method will be shown

JavaScript Examples


function buildUrl(path, params){
  const qs = new URLSearchParams(params);
  return `${path}?${qs.toString()}`;
}

const SHOPID = SHOPID;
const APIKEY = 'REMPLACER_PAR_VOTRE_CLE_API_GENEREE';

// 1) Export des commandes
const urlCsv = buildUrl("https://kash.click/workers/getSales.php", {
  shopID: 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).