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:
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
| Naam | Verplicht | Beschrijving |
|---|---|---|
shopID | Ja | Your institution's identifier |
key | Ja | Your API key |
data[idVariation] | Neen | Variation ID |
data[title] | Ja | Store Name |
data[position] | Neen | Position (on the interface) |
data[deltaPrice] | Neen | Price modification |
data[description] | Neen | Beschrijving |
data[ending] | Neen | Final element |
data[unavailable] | Neen | Disabled element |
Modify a choice of variation
POST https://kash.click/workers/editVariationItem.php
Modify a variation item in your catalog
POST parameters
| Naam | Verplicht | Beschrijving |
|---|---|---|
shopID | Ja | Your institution's identifier |
key | Ja | Your API key |
id | Ja | Item Variation Identifier |
data[idVariation] | Neen | Variation ID |
data[title] | Neen | Store Name |
data[position] | Neen | Position (on the interface) |
data[deltaPrice] | Neen | Price modification |
data[description] | Neen | Beschrijving |
data[ending] | Neen | Final element |
data[unavailable] | Neen | Disabled element |
Delete a variant selection
POST https://kash.click/workers/delVariationItem.php
Remove a variation from your catalog
POST parameters
| Naam | Verplicht | Beschrijving |
|---|---|---|
shopID | Ja | Your institution's identifier |
key | Ja | Your API key |
id | Ja | Item 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);}
This document is made available under the terms of the licence Creative Commons Attribution 4.0 International (CC BY 4.0) .