Help Center
This help will guide you through the setup and usage of our point of sale cash register software.
Search by keyword in the help section:
Department management
Add, modify, or delete department
Add a department
POST https://kash.click/workers/addDept.php
Add a new department to your catalog
POST parameters
| Naam | Verplicht | Beschrijving |
|---|---|---|
shopID | Ja | Your institution's identifier |
key | Ja | Your API key |
data[title] | Ja | Title (required) |
data[shortTitle] | Neen | Store Name |
data[stock] | Neen | Quantity in stock |
data[vatID] | Neen | VAT rate ID |
data[eatinvatID] | Neen | VAT rate ID on site |
data[discountID] | Neen | ID of the discount |
data[price] | Neen | Verkoopprijs |
data[keyboardHide] | Neen | Hide from the sales interface |
data[shopHide] | Neen | Hide from the shop |
data[position] | Neen | Position (on the interface) |
data[deptGroupID] | Neen | Department Group ID |
data[unitID] | Neen | Unit ID |
data[needPrepa] | Neen | Area for preparing the department |
data[variationID0] | Neen | ID variation 0 |
data[variationID1] | Neen | ID variant 1 |
data[variationID2] | Neen | ID variant 2 |
data[variationID3] | Neen | ID variant 3 |
data[variationID4] | Neen | ID variant 4 |
data[activityCode] | Neen | Activity accounting code |
Edit a Department
POST https://kash.click/workers/editDept.php
Edit a department of your catalog
POST parameters
| Naam | Verplicht | Beschrijving |
|---|---|---|
shopID | Ja | Your institution's identifier |
key | Ja | Your API key |
id | Ja | Department Identifier |
data[title] | Neen | Title (required) |
data[shortTitle] | Neen | Store Name |
data[stock] | Neen | Quantity in stock |
data[vatID] | Neen | VAT rate ID |
data[eatinvatID] | Neen | VAT rate ID on site |
data[discountID] | Neen | ID of the discount |
data[price] | Neen | Verkoopprijs |
data[keyboardHide] | Neen | Hide from the sales interface |
data[shopHide] | Neen | Hide from the shop |
data[position] | Neen | Position (on the interface) |
data[deptGroupID] | Neen | Department Group ID |
data[unitID] | Neen | Unit ID |
data[needPrepa] | Neen | Area for preparing the department |
data[variationID0] | Neen | ID variation 0 |
data[variationID1] | Neen | ID variant 1 |
data[variationID2] | Neen | ID variant 2 |
data[variationID3] | Neen | ID variant 3 |
data[variationID4] | Neen | ID variant 4 |
data[activityCode] | Neen | Activity accounting code |
Delete a department
POST https://kash.click/workers/delDept.php
Remove a department from your catalog
POST parameters
| Naam | Verplicht | Beschrijving |
|---|---|---|
shopID | Ja | Your institution's identifier |
key | Ja | Your API key |
id | Ja | Department Identifier |
JavaScript example
async function editDept(){ const body = new URLSearchParams({ shopID: SHOPID, key: 'REMPLACER_PAR_VOTRE_CLE_API_GENEREE', id: 123, 'data[title]': 'New title' }); const res = await fetch("https://kash.click/workers/editDept.php", { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded" }, body }); let payload; try{ payload = await res.json(); }catch{ payload = await res.text(); } console.log(payload);}
This document is made available under the terms of the licence Creative Commons Attribution 4.0 International (CC BY 4.0) .