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
| Name | Necessary | Description |
|---|---|---|
shopID | Yes | Your institution's identifier |
key | Yes | Your API key |
data[idVariation] | No | Variation ID |
data[title] | Yes | Store Name |
data[position] | No | Position (on the interface) |
data[deltaPrice] | No | Price modification |
data[description] | No | Description |
data[ending] | No | Final element |
data[unavailable] | No | Disabled element |
Modify a choice of variation
POST https://kash.click/workers/editVariationItem.php
Modify a variation item in your catalog
POST parameters
| Name | Necessary | Description |
|---|---|---|
shopID | Yes | Your institution's identifier |
key | Yes | Your API key |
id | Yes | Item Variation Identifier |
data[idVariation] | No | Variation ID |
data[title] | No | Store Name |
data[position] | No | Position (on the interface) |
data[deltaPrice] | No | Price modification |
data[description] | No | Description |
data[ending] | No | Final element |
data[unavailable] | No | Disabled element |
Delete a variant selection
POST https://kash.click/workers/delVariationItem.php
Remove a variation from your catalog
POST parameters
| Name | Necessary | Description |
|---|---|---|
shopID | Yes | Your institution's identifier |
key | Yes | Your API key |
id | Yes | Item Variation Identifier |
JavaScript example
async function editVariation(){ const body = new URLSearchParams({ shopID: SHOPID, key: APIKEY, 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) .