This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.
The connected Lightspeed Retail (R-Series) account: id, name, status, employee count/limit, default and purchasing currencies. Good first call. GET /Account/{accountID}.json.
List the account's shops (store locations): shopID, name, time zone, archived flag. Use shopID to filter sales, inventory and purchase orders. GET /Account/{accountID}/Shop.json.
Params
include_contact
limit
sort
next_url
Search the product catalog. Each item has itemID, description, SKUs (systemSku, customSku, upc, ean, manufacturerSku), defaultCost, categoryID and its Prices (price levels). Set include_stock to add per-shop quantities (ItemShops; shopID 0 = all shops). Paginate with next_url. GET /Account/{accountID}/Item.json.
Params
description
item_code
system_sku
custom_sku
manufacturer_sku
upc
ean
category_id
vendor_id
modified_since
min_qoh
archived
include_stock
include_category
limit
sort
next_url
One item by itemID with its prices, per-shop stock (ItemShops), category and other related records. GET /Account/{accountID}/Item/{itemID}.json.
Params
item_id
relations
Stock levels per item per shop (ItemShop records): qoh (quantity on hand), sellable, backorder, reorderPoint, reorderLevel, costs and values. shopID 0 is the all-shops summary. Paginate with next_url. GET /Account/{accountID}/ItemShop.json.
Params
shop_id
item_id
min_qoh
max_qoh
modified_since
limit
sort
next_url
Inventory change history (InventoryLog, read-only): one record per stock change with itemID, shopID, qohChange (+ received, - removed), costChange (the item's new unit cost after the change), reason (e.g. ManualQuantityAdjustment, ItemImport, AddInventoryForCount, RemoveForTransaction; the vendor's list is not exhaustive), createTime, employeeID, automated, and the source record when there is one: orderID (purchase order), saleID, transferID, inventoryCountID, vendorReturnID, itemImportID (0 = n
Params
item_id
shop_id
reason
received_only
employee_id
order_id
created_from
created_to
limit
sort
next_url
Item categories (hierarchical): categoryID, name, fullPathName, parentID, nodeDepth. GET /Account/{accountID}/Category.json.
Params
name
parent_id
limit
sort
next_url
Sales history: saleID, completed/voided flags, completeTime, totals (calcSubtotal, calcTax1/2, total, balance), customerID, employeeID, shopID, registerID. Filter by a date range on completeTime (default) or timeStamp, shop, customer, employee. Set include_lines for SaleLines (items sold). Paginate with next_url. GET /Account/{accountID}/Sale.json.
Params
from
to
date_field
shop_id
customer_id
employee_id
completed
voided
include_lines
include_payments
limit
sort
next_url
One sale by saleID with its line items (SaleLines with Item), payments (SalePayments with PaymentType) and customer. GET /Account/{accountID}/Sale/{saleID}.json.
Params
sale_id
relations
Server-side sales-by-category report for a date range on completeTime: per item category the quantity, net revenue excluding tax (after discounts, refunds subtracted), cost of goods sold, gross profit and gross margin %, plus totals. Counts completed, non-voided sales only. Reads up to max_pages pages of 100 sales in one call; if the range has more, complete is false: call again with the same arguments plus resume_token, and that result holds the totals for the whole range so far. A date without
Params
from
to
shop_id
cost_basis
max_pages
max_categories
resume_token
Service / repair work orders: workorderID (the work order number), timeIn (received), etaOut (due date), workorderStatusID with the WorkorderStatus name, shopID, customerID with the Customer, employeeID, note, internalNote, hookIn/hookOut, warranty, saleID. Filter by due date (etaOut range), received date (timeIn range), status ids (from lightspeedrseries_list_workorder_statuses), shop, customer and employee. For work due today pass due_from and due_to as today's date. A date without a time cove
Params
due_from
due_to
received_from
received_to
status_ids
shop_id
customer_id
employee_id
archived
include_lines
limit
sort
next_url
The account's work order statuses: workorderStatusID, name, sortOrder, systemValue (open, estimate, waiting, finished, paid for the built-in ones). Use the ids to filter lightspeedrseries_list_workorders. GET /Account/{accountID}/WorkorderStatus.json.
Params
limit
next_url
Search customers by name, company or email: customerID, firstName, lastName, company, customerTypeID, createTime. Email search loads the Contact relation (emails, phones, addresses). Paginate with next_url. GET /Account/{accountID}/Customer.json.
Params
first_name
last_name
company
email
include_contact
archived
limit
sort
next_url
One customer by customerID with Contact (emails, phones, addresses), customer type and notes. GET /Account/{accountID}/Customer/{customerID}.json.
Params
customer_id
relations
Suppliers: vendorID, name, accountNumber, archived. GET /Account/{accountID}/Vendor.json.
Params
name
include_contact
archived
limit
sort
next_url
Purchase orders to vendors: orderID, vendorID, shopID, orderedDate, arrivalDate, receivedDate, complete, totalQuantity, shipCost. GET /Account/{accountID}/Order.json.
Params
shop_id
vendor_id
complete
include_lines
archived
limit
sort
next_url
One purchase order by orderID with its lines (OrderLines: itemID, quantity, numReceived, price), vendor and shop. GET /Account/{accountID}/Order/{orderID}.json.
Params
order_id
relations
Employees: employeeID, firstName, lastName, lockOut, archived, employeeRoleID, limitToShopID. Use employeeID to filter sales. GET /Account/{accountID}/Employee.json.
Params
include_contact
archived
limit
sort
next_url
Create a new customer, optionally with a primary email and one phone number (stored in the customer's Contact). Give at least a first name, last name or company. Returns the new customer with its customerID. POST /Account/{accountID}/Customer.json.
Params
first_name
last_name
company
title
email
phone
phone_type
customer_type_id
Change fields of an existing item: description, default cost, SKUs, category. Only the fields you pass are changed. Prices and stock are not changed here (use lightspeedrseries_update_stock for quantities). PUT /Account/{accountID}/Item/{itemID}.json.
Params
item_id
description
default_cost
custom_sku
manufacturer_sku
upc
ean
category_id
CHANGES STOCK COUNTS: sets (does not add to) the quantity on hand of one item in one shop to `qoh`, by updating the item's ItemShop record. Use for correcting a few items; for many items use an inventory count in Lightspeed. Identify the shop by shop_id, or by item_shop_id from lightspeedrseries_get_item's ItemShops. Not for shopID 0 (the all-shops summary). PUT /Account/{accountID}/Item/{itemID}.json with ItemShops.
Params
item_id
shop_id
item_shop_id
qoh