Lightspeed Retail (R-Series) MCP by usefulapi

v1.41.1
io.usefulapi/lightspeed-r-series Checked 2 days ago Published 1 day ago

Read Lightspeed R-Series items, stock, sales, customers and POs; create customers and set stock.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lightspeedrseries_get_account Get account

The connected Lightspeed Retail (R-Series) account: id, name, status, employee count/limit, default and purchasing currencies. Good first call. GET /Account/{accountID}.json.

lightspeedrseries_list_shops List shops

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.

ParameterTypeDescription
include_contactbooleanAlso load each shop's Contact (address, phone).
limitintegerRecords per page (1-100, default 100).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
sortstringSort field; prefix "-" for descending. Allowed: shopID.

lightspeedrseries_list_items List items

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.

ParameterTypeDescription
archivedstringfalse (default) = active records only, true = active and archived, only = archived only.
category_idstringOnly items in this category (categoryID).
custom_skustringExact custom SKU.
descriptionstringDescription contains this text (like search).
eanstringExact EAN.
include_categorybooleanInclude the Category record.
include_stockbooleanInclude per-shop stock (ItemShops relation).
item_codestringExact match on itemID, UPC or EAN.
limitintegerRecords per page (1-100, default 25).
manufacturer_skustringExact manufacturer SKU.
min_qohintegerOnly items with at least one shop record whose quantity on hand is >= this (loads ItemShops).
modified_sincestringOnly items modified at or after this time (item timeStamp, UTC unless an offset is given).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
sortstringSort field; prefix "-" for descending. Allowed: itemID, timeStamp, description.
system_skustringExact Lightspeed system SKU (the barcode on labels).
upcstringExact UPC.
vendor_idstringOnly items whose default vendor is this vendorID.

lightspeedrseries_get_item Get an item

One item by itemID with its prices, per-shop stock (ItemShops), category and other related records. GET /Account/{accountID}/Item/{itemID}.json.

ParameterTypeDescription
item_id *stringThe itemID (from lightspeedrseries_list_items).
relationsarrayRelated records to include (each adds a little to the request's rate-limit cost). Default: ItemShops, Category, Manufacturer, ItemVendorNums, Note. Allowed: Category, TaxClass, ItemAttributes, ItemAtt…

lightspeedrseries_list_inventory List inventory levels

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.

ParameterTypeDescription
item_idstringOnly this item (itemID).
limitintegerRecords per page (1-100, default 100).
max_qohintegerQuantity on hand <= this (e.g. 0 for out of stock).
min_qohintegerQuantity on hand >= this.
modified_sincestringOnly records changed at or after this time (timeStamp).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
shop_idstringOnly this shop (shopID; 0 = the all-shops summary records).
sortstringSort field; prefix "-" for descending. Allowed: itemShopID, timeStamp.

lightspeedrseries_list_inventory_log List inventory history

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 = none). For receiving history use received_only with a created_from/created_to range: stock received d…

ParameterTypeDescription
created_fromstringChanged at or after this time (createTime).
created_tostringChanged at or before this time (createTime).
employee_idstringOnly changes by this employee (employeeID).
item_idstringOnly this item (itemID).
limitintegerRecords per page (1-100, default 100).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
order_idstringOnly changes caused by this purchase order (orderID).
reasonstringOnly this exact reason, e.g. ManualQuantityAdjustment.
received_onlybooleantrue = only increases of stock (qohChange > 0).
shop_idstringOnly this shop (shopID).
sortstringSort field; prefix "-" for descending. Allowed: inventoryLogID, itemID. Default: -inventoryLogID (newest first).

lightspeedrseries_list_categories List categories

Item categories (hierarchical): categoryID, name, fullPathName, parentID, nodeDepth. GET /Account/{accountID}/Category.json.

ParameterTypeDescription
limitintegerRecords per page (1-100, default 100).
namestringName contains this text.
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
parent_idstringOnly direct children of this categoryID (0 = top level).
sortstringSort field; prefix "-" for descending. Allowed: categoryID, timeStamp, leftNode, rightNode.

lightspeedrseries_list_sales List sales

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.

ParameterTypeDescription
completedbooleantrue = completed sales only, false = open/unfinished only.
customer_idstringOnly sales for this customer (customerID).
date_fieldstringWhich date from/to apply to (default completeTime).
employee_idstringOnly sales processed by this employee (employeeID).
fromstringStart (inclusive), e.g. 2026-10-01 or 2026-10-01T00:00:00-04:00. Times are UTC unless an offset is given.
include_linesbooleanInclude the SaleLines relation (line items).
include_paymentsbooleanInclude the SalePayments relation.
limitintegerRecords per page (1-100, default 25; 10 when include_lines or include_payments is set).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
shop_idstringOnly sales in this shop (shopID).
sortstringSort field; prefix "-" for descending. Allowed: saleID, timeStamp, completeTime, updatetime.
tostringEnd (inclusive), same format.
voidedbooleantrue = voided only, false = exclude voided.

lightspeedrseries_get_sale Get a sale

One sale by saleID with its line items (SaleLines with Item), payments (SalePayments with PaymentType) and customer. GET /Account/{accountID}/Sale/{saleID}.json.

ParameterTypeDescription
sale_id *stringThe saleID (from lightspeedrseries_list_sales).
relationsarrayRelated records to include (each adds a little to the request's rate-limit cost). Default: SaleLines, SaleLines.Item, SalePayments, SalePayments.PaymentType, Customer. Allowed: SaleLines, SaleLines.Di…

lightspeedrseries_sales_by_category Sales by category report

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 a time covers the whole day; times are UTC unless an offset is given. Uses GET Sale.json with SaleL…

ParameterTypeDescription
from *stringStart (inclusive), e.g. 2026-10-01 or 2026-10-01T00:00:00-04:00.
to *stringEnd (inclusive); a bare date means the end of that day.
cost_basisstringCost per unit: fifo = the line's fifoCost (default), average = avgCost.
max_categoriesintegerMost categories to list, by revenue (default 100); the rest are summed in other_categories. Totals always cover all categories.
max_pagesintegerMost pages of 100 sales to read in this call (default 20). Each page uses rate-limit allowance.
resume_tokenstringFrom the previous call of this report when complete was false; pass it unchanged with the same other arguments.
shop_idstringOnly sales in this shop (shopID).

lightspeedrseries_list_workorders List work orders

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 covers the whole day; times are UTC unless an offset is given (e.g. 2026-11-24T00:00:00-05:00). Paginate…

ParameterTypeDescription
archivedstringfalse (default) = active records only, true = active and archived, only = archived only.
customer_idstringOnly work orders for this customer (customerID).
due_fromstringDue (etaOut) on or after this date/time.
due_tostringDue (etaOut) on or before this date/time; a bare date means the end of that day.
employee_idstringOnly work orders assigned to this employee (employeeID).
include_linesbooleanAlso include WorkorderLines (labor, charges) and WorkorderItems (parts).
limitintegerRecords per page (1-100, default 100).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
received_fromstringReceived (timeIn) on or after this date/time.
received_tostringReceived (timeIn) on or before this date/time; a bare date means the end of that day.
shop_idstringOnly work orders in this shop (shopID).
sortstringSort field; prefix "-" for descending. Allowed: workorderID, timeStamp.
status_idsarrayOnly these workorderStatusIDs.

lightspeedrseries_list_workorder_statuses List work order statuses

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.

ParameterTypeDescription
limitintegerRecords per page (1-100, default 100).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.

lightspeedrseries_list_customers List customers

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.

ParameterTypeDescription
archivedstringfalse (default) = active records only, true = active and archived, only = archived only.
companystringCompany contains this text.
emailstringEmail contains this text (searches Contact.email).
first_namestringFirst name contains this text.
include_contactbooleanInclude the Contact relation (emails, phones, addresses).
last_namestringLast name contains this text.
limitintegerRecords per page (1-100, default 100).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
sortstringSort field; prefix "-" for descending. Allowed: customerID, timeStamp, firstName, lastName.

lightspeedrseries_get_customer Get a customer

One customer by customerID with Contact (emails, phones, addresses), customer type and notes. GET /Account/{accountID}/Customer/{customerID}.json.

ParameterTypeDescription
customer_id *stringThe customerID (from lightspeedrseries_list_customers).
relationsarrayRelated records to include (each adds a little to the request's rate-limit cost). Default: Contact, CustomerType, Note. Allowed: Contact, CustomerType, Discount, Note, TaxCategory, CreditAccount, Tags…

lightspeedrseries_list_vendors List vendors

Suppliers: vendorID, name, accountNumber, archived. GET /Account/{accountID}/Vendor.json.

ParameterTypeDescription
archivedstringfalse (default) = active records only, true = active and archived, only = archived only.
include_contactbooleanInclude the Contact relation.
limitintegerRecords per page (1-100, default 100).
namestringName contains this text.
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
sortstringSort field; prefix "-" for descending. Allowed: vendorID, timeStamp, name.

lightspeedrseries_list_purchase_orders List purchase orders

Purchase orders to vendors: orderID, vendorID, shopID, orderedDate, arrivalDate, receivedDate, complete, totalQuantity, shipCost. GET /Account/{accountID}/Order.json.

ParameterTypeDescription
archivedstringfalse (default) = active records only, true = active and archived, only = archived only.
completebooleantrue = completed orders only, false = open orders only.
include_linesbooleanInclude the OrderLines relation.
limitintegerRecords per page (1-100, default 25; 10 when include_lines is set).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
shop_idstringOnly orders for this shop (shopID).
sortstringSort field; prefix "-" for descending. Allowed: orderID, timeStamp.
vendor_idstringOnly orders to this vendor (vendorID).

lightspeedrseries_get_purchase_order Get a purchase order

One purchase order by orderID with its lines (OrderLines: itemID, quantity, numReceived, price), vendor and shop. GET /Account/{accountID}/Order/{orderID}.json.

ParameterTypeDescription
order_id *stringThe orderID (from lightspeedrseries_list_purchase_orders).
relationsarrayRelated records to include (each adds a little to the request's rate-limit cost). Default: OrderLines, Vendor, Shop, Note. Allowed: OrderLines, Note, Vendor, Shop, CustomFieldValues, CustomFieldValues…

lightspeedrseries_list_employees List employees

Employees: employeeID, firstName, lastName, lockOut, archived, employeeRoleID, limitToShopID. Use employeeID to filter sales. GET /Account/{accountID}/Employee.json.

ParameterTypeDescription
archivedstringfalse (default) = active records only, true = active and archived, only = archived only.
include_contactbooleanInclude the Contact relation.
limitintegerRecords per page (1-100, default 100).
next_urlstringTo get the next page: the next_url value from a previous call of this same tool, unchanged. Other filters are ignored when it is set.
sortstringSort field; prefix "-" for descending. Allowed: employeeID, timeStamp.

lightspeedrseries_create_customer Create a customer

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.

ParameterTypeDescription
companystringCompany name.
customer_type_idstringcustomerTypeID to assign.
emailstringPrimary email address.
first_namestringFirst name.
last_namestringLast name.
phonestringPhone number.
phone_typestringPhone type (default Mobile).
titlestringJob title.

lightspeedrseries_update_item Update an item

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.

ParameterTypeDescription
item_id *stringThe itemID to update.
category_idstringNew categoryID (0 = no category).
custom_skustringNew custom SKU.
default_costnumberNew default (reorder) cost.
descriptionstringNew description (shown on receipts and labels).
eanstringNew EAN (11-14 digits).
manufacturer_skustringNew manufacturer SKU.
upcstringNew UPC (11-14 digits).

lightspeedrseries_update_stock Set stock level

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.

ParameterTypeDescription
item_id *stringThe itemID.
qoh *integerThe new quantity on hand.
item_shop_idstringOr the itemShopID of that item/shop record (from lightspeedrseries_get_item ItemShops).
shop_idstringThe shopID whose stock to set (from lightspeedrseries_list_shops).