ConcessionSale
Shows concession sale and delivery entries.
Example of a Concession sale record entry in JSON format.
http://URL/api/concessionsale
{
"response": {
"Page": 1,
"PageCount": 210,
"RecordsSent": 100,
"RecordsFound": 20941,
"ConcessionSale": [
{
"id": 1,
"Style": "A0000001",
"SKUSize": "A0000001010A",
"Size": "S",
"Quantity": 2,
"Barcode": "5060395910013",
"Sale_Date": "2014-09-09T23:00:00.000Z",
"Entry_date": "2014-09-18T23:00:00.000Z",
"Store_ID": "OWNWEB01",
"Store_Code": "OWNWEB01",
"Total_Value": 57.98,
"Type": "Sale",
"Host": "ECOMM",
"Brand": "",
"RRP": 28.99,
"Discount": 0,
"Concession_Sale_ID": 1,
"Delivery_Reference": "OWNWEB01",
"Value_Own_Currency": 0,
"Sent_To_Portal": "0000-00-00T00:00:00.000Z",
"Till_Number": "",
"Operator": "",
"Till_Sale_ID": 0,
"Net_Value": 48.32,
"VAT_Value": 9.66,
"VAT_Rate": 0,
"Return_Reason_Code": "",
"Return_Discount_Reason": "",
"Actual_Store": "OWNWEB01",
"Original_Store": "",
"Original_Transaction_Date": "0000-00-00T00:00:00.000Z"
}
]
}
}
ConcessionSale Properties
| Property | Example | Description |
|---|---|---|
| id | 5190 | Unique ID of the sale |
| Style | "WB0001" | Style for the stock item |
| SKUSize | WB0001021 A | SKU/Size for the stock item |
| Size | "8" | Size for the stock item |
| Quantity | -1 | Quantity of stock moved in this sale/delivery |
| Barcode | "5054604012308" | Barcode for the stock item |
| Sale_Date | "2017-01-24T00:00:00.000Z" | Date the sale took place |
| Entry_date | "2017-01-27T00:00:00.000Z" | Date the sale was loaded into i.LEVEL |
| Store_ID | "DB9999" | Host store code (with prefix) |
| Store_Code | "DBDump" | i.LEVEL store code |
| Total_Value | -20 | Total value of the sale/delivery |
| Type | "Sale" | Either Sale/Delivery |
| Host | "DEBENHAM" | Retail host this sale was made under |
| Brand | "i.Level" | Brand for the stock item |
| RRP | 22 | RRP for the stock item |
| Discount | -2 | Discount applied to this sale |
| Concession_Sale_ID | 5190 | Unique ID of the sale |
| Delivery_Reference | "DBsalesimporttest.SLE" | File the sale information was contianed in |
| Value_Own_Currency | -20 | Value of the sale in own currency |
| Sent_To_Portal | "0000-00-00T00:00:00.000Z" | Date sale was sent to central portal |
| Till_Number | "010" | Till number this sale was taken on |
| Operator | "0009003" | Operator ID that took this sale |
| Till_Sale_ID | "2511" | ID for this sale recorded on the till |
| Net_Value | "-16.67" | Net total value of this sale |
| VAT_Value | "OWNWEB01" | VAT total value of this sale |
| VAT_Rate | 20 | VAT rate applied to this sale |
| Return_Reason_Code | "Return" | Code assigned to the return reason |
| Return_Discount_Reason | "Item was originally on sale" | Reason for return discount |
| Actual_Store | "DB0036" | Store where the return was made |
| Original_Store | "DB0036" | Store where the product was originally sold |
| Original_Transaction_Date | "0000-00-00T00:00:00.000Z" | Date the product was originally sold |
ConcessionSale Methods
GET /api/concessionsale
Returns all sales and deliveries with all fields.
GET /api/concessionsale?sale_type=sale
Returns all sales with sale specific fields.
GET /api/concessionsale?sale_type=delivery
Returns all deliveries with delivery specific fields.
ShowZeros Custom Parameter
The ShowZeros parameter can be used to display sizes for the order item that have a zero quantity in them. By default the behaviour is to return only sizes that have a non zero quantity.