Kassa

Kash.click, free online POS software since 2011

Follow Us

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:

Accès rapide : gestes du quotidien

Managing variation choices

Add, modify, or delete variation choices

Add a choice of variation

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

Add a new item to a variation of your catalog

POST parameters

NaamVerplichtBeschrijving
shopIDJaYour institution's identifier
keyJaYour API key
data[idVariation]NeenVariation ID
data[title]JaStore Name
data[position]NeenPosition (on the interface)
data[deltaPrice]NeenPrice modification
data[description]NeenBeschrijving
data[ending]NeenFinal element
data[unavailable]NeenDisabled element

Modify a choice of variation

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

Modify a variation item in your catalog

POST parameters

NaamVerplichtBeschrijving
shopIDJaYour institution's identifier
keyJaYour API key
idJaItem Variation Identifier
data[idVariation]NeenVariation ID
data[title]NeenStore Name
data[position]NeenPosition (on the interface)
data[deltaPrice]NeenPrice modification
data[description]NeenBeschrijving
data[ending]NeenFinal element
data[unavailable]NeenDisabled element

Delete a variant selection

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

Remove a variation from your catalog

POST parameters

NaamVerplichtBeschrijving
shopIDJaYour institution's identifier
keyJaYour API key
idJaItem Variation Identifier

JavaScript example

async function editVariation(){ const body = new URLSearchParams({  shopID: SHOPID,  key: 'REMPLACER_PAR_VOTRE_CLE_API_GENEREE',  id: 123,  'data[title]': 'Variation choice name' }); const res = await fetch("https://kash.click/workers/editVariationItem.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);}
Sign up 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) .