Skip to main content

Exchange Reports

Read exchange reports by store.

URL:https://api.lingaros.com/v2/reports/store/{store-id}/exchangedReport

curl -X GET -H "apikey: generated-api-key" \ 
"https://api.lingaros.com/v2/reports/store/{store-id}/exchangedReport"

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]

Response

MethodTypeDescription
amountstringTotal amount associated with the transaction.
checkNostringCheck number generated for the sale transaction.
discountstringDiscount amount applied to the transaction.
exchangeDatestringDate on which the exchange was completed.
exchangeSaleIdstringSale ID of the original transaction.
exchangedSaleIdstringSale ID of the new transaction created after the exchange.
exchangedBystringName of the employee or user who processed the exchange.
isTotalbooleanIndicates whether the row represents a total summary record (true) or a regular item record (false).
itemTypestringITEM, EXCH ITEM, or TOTAL
itemsarrayList of item names included in the transaction.
nodestringNode number where the transaction was processed.
openBystringName of the employee who opened or created the original transaction.
qtyintegerQuantity of the item.
reasonstringReason provided for the exchange transaction.
saleIdstringUnique identifier of the sale record.
soldDatestringDate on which the original item was sold.
taxstringTax amount applied to the transaction.