Skip to main content

Sale Reports

Read department and category sale reports by store.#

URL:https://api.lingaros.com/v1/lingapos/store/{store-id}/saleReport

curl -X GET -H "apikey: generated-api-key" \
"https://api.lingaros.com/v1/lingapos/store/{store-id}/saleReport"
queryParms
?dateOption=T => [Today]
?dateOption=Y => [Yesterday]
?dateOption=LND&numberOfDay=13 => [Last 'N'(13) days]
?dateOption=W => [This week]
?dateOption=L7D => [Last 7 days]
?dateOption=M => [This month]
?dateOption=LM => [Last month]
?dateOption=L30D => [Last 30 days]
?dateOption=SD?specificDate=29-Sep-2019 => [Specific date]
?dateOption=DR&fromDate=09-Sep-2019&toDate=01-Oct-2019 => [Date range]
?type=DEPARTMENT => [Group By Department]
?type=CATEGORY => [Group By CATEGORY]
?qtySort=Y => [Quantity Sort]
?selectedDepID={departmant-id} => [Select department]

You can find department id at others tab.

Read sale summary reports by store.#

curl -X GET -H "apikey: generated-api-key" \
"https://api.lingaros.com/v1/lingapos/store/{store-id}/saleSummaryReport"
queryParms:
?dateOption=T => [Today]
?dateOption=Y => [Yesterday]
?dateOption=LND&numberOfDay=13 => [Last 'N'(13) days]
?dateOption=W => [This week]
?dateOption=L7D => [Last 7 days]
?dateOption=M => [This month]
?dateOption=LM => [Last month]
?dateOption=L30D => [Last 30 days]
?dateOption=SD?specificDate=29-Sep-2019 => [Specific date]
?dateOption=DR&fromDate=09-Sep-2019&toDate=01-Oct-2019 => [Date range]
?type=SALESUMMARY => [Group By SALESUMMARY]
?selectedEmployee={employee-id} => [Select employee]
?serviceTypes={service-type-name}
?isIncludedCategory => [Include categories (boolean default false)]

You can find employee id under the others page.

You can find service type name under the others page.

Read sale details#

curl -X GET -H 'apikey: generated-api-key' \
'https://api.lingaros.com/v1/lingapos/sale/{sale-id}/getSale'

You can find sale id under the sale reports