SalesLine is a JSON Structure definition published by WISK, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/wisk/refs/heads/main/json-structure/sales-upload-sales-line-structure.json",
"name": "SalesLine",
"description": "A single point-of-sale sales line from a receipt.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the receipt sales line. If a client buys two different cocktails on one receipt, each cocktail is a separate line with a different id."
},
"date": {
"type": "datetime",
"description": "The receipt date, in ISO 8601 format."
},
"plu_number": {
"type": "string",
"description": "The unique POS identifier (price look-up number) of the POS item sold."
},
"title": {
"type": "string",
"description": "The name of the POS item sold."
},
"quantity": {
"type": "double",
"description": "How many of the item were sold. May be negative to represent a void or refund line."
},
"total": {
"type": "double",
"description": "The total for the line in the venue's local currency."
}
},
"required": [
"id",
"date",
"plu_number",
"title",
"quantity",
"total"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.