Cash register Help: Managing Department Groups

Free cash register

Kash.click, 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.

Management of department groups

Add, modify, or delete department groups

Add a department Group

POST https://kash.click/workers/addGrpDept.php

Add a new department group to your catalog

POST parameters

NameNecessaryDescription
shopIDYesYour institution's identifier
keyYesYour API key
data[title]YesTitle (required)
data[position]NoPosition (on the interface)
data[accountingChapter]NoAccounting chapter
data[accountingChapterComplement]NoAccounting Chapter Supplement

Edit a Group of departments

POST https://kash.click/workers/editGrpDept.php

Edit a department group in your catalog

POST parameters

NameNecessaryDescription
shopIDYesYour institution's identifier
keyYesYour API key
idYesDepartment Group Identifier
data[title]NoTitle (required)
data[position]NoPosition (on the interface)
data[accountingChapter]NoAccounting chapter
data[accountingChapterComplement]NoAccounting Chapter Supplement

Delete a department Group

POST https://kash.click/workers/delGrpDept.php

Remove a department group from your catalog

POST parameters

NameNecessaryDescription
shopIDYesYour institution's identifier
keyYesYour API key
idYesDepartment Group Identifier

JavaScript example

async function editGrpDept(){ const body = new URLSearchParams({  shopID: SHOPID,  key: APIKEY,  id: 123,  'data[title]': 'New title' }); const res = await fetch("https://kash.click/workers/editGrpDept.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);}
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) .