Download your sales
Download the list of your saved orders
GET /workers/getOrders.php
Base URL: https://kash.click/workers/getOrders.php
Settings
| Name | Type | Required | Description |
|---|---|---|---|
shopID | 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 |
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).