Lightspeed Retail (X-Series) MCP by usefulapi

v1.24.1
io.usefulapi/lightspeed-x-series Checked 2 days ago Published 1 day ago

Read Lightspeed X-Series products, stock, sales, customers, stock orders; one-call sales reports.

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

lightspeedxseries_get_retailer Get retailer

The connected store: id, name, domain prefix, store URL, country, currency, time zone, tax-exclusive setting, loyalty and gift-card settings. Good first call (use the time zone to turn a local day into UTC for sales searches). GET /retailer.

lightspeedxseries_list_outlets List outlets

List the store's outlets (locations): id, name, address, currency, time zone, default tax. Use the outlet id to filter sales, stock and stock orders. Paginate with next_after. GET /outlets.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_get_outlet Get outlet

One outlet by id. GET /outlets/{outlet_id}.

ParameterTypeDescription
outlet_id *stringOutlet id (from list_outlets).

lightspeedxseries_list_registers List registers

List registers (tills): id, name, outlet_id, is_open, open/close times and invoice numbering. Paginate with next_after. GET /registers.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_get_register_payments_summary Get register payments summary

Payment totals by payment type for one register since it was opened (the end-of-day / cash-up view). GET /registers/{register_id}/payments_summary.

ParameterTypeDescription
register_id *stringRegister id (from list_registers).

lightspeedxseries_list_taxes List taxes

List tax groups and their rates (id, name, is_default, rates). The vendor returns the whole list in one reply (no cursor). GET /taxes.

lightspeedxseries_list_users List users

List the store's users (staff): id, username, display name, email, account type (cashier, manager, admin), enabled flag, restricted outlets. Paginate with next_after. GET /users.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_get_user_sale_totals Get user sale totals

Sales totals for one staff user, as the vendor computes them (no date filter; use sales_summary for a period). GET /users/{user_id}/sale_totals.

ParameterTypeDescription
user_id *stringUser id (from list_users).

lightspeedxseries_list_products List products

List products (variants) in the catalog: id, family_id, sku, variant_name, prices (price_excluding_tax / price_including_tax), active flags, codes, suppliers, version. The product NAME lives on the product family: add includes=["families"] to get it. Paginate with next_after (stop when data is empty). With sku set, only that SKU is looked up and the other filters are ignored. For text/brand/supplier filters use search_products; for stock use get_inventory_levels. GET /products.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
includesarrayRelated records to include. 'families' is required together with brands, categories, suppliers, tags, variant_attributes or customizations.
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).
skustringExact SKU (other filters are ignored when set).

lightspeedxseries_get_product Get product

One product (variant) by id, with its prices, codes, suppliers and outlet taxes. GET /products/{product_id}.

ParameterTypeDescription
product_id *stringProduct id (from list_products).
includesarrayRelated records to include. 'families' is required together with brands, categories, suppliers, tags, variant_attributes or customizations.

lightspeedxseries_search_products Search products

Filter products by SKU, brand, supplier, tag, product type or variant parent. Uses offset paging: pass next_offset to continue (null = last page). GET /search?type=products.

ParameterTypeDescription
brand_idstringBrand id.
deletedbooleantrue = include deleted records (default: active only).
offsetintegerOffset for the next page: pass next_offset from the previous call (default 0).
page_sizeintegerRecords per page (max 1000).
product_type_idstringProduct type id.
skustringSKU filter (sent in lowercase, as the vendor search requires).
supplier_idstringSupplier id.
tag_idstringTag id.
variant_parent_idstringOnly the variants of this parent product.

lightspeedxseries_get_inventory_levels Get inventory levels

Stock on hand per product per outlet: product_id, location_id (= outlet id), current_inventory_level, reorder threshold/amount, quantity_to_procure, average cost, total cost, supplier. Filter by outlet_ids, product_ids (or root_product_ids for variant families), supplier_ids; to_be_procured_only keeps products with a positive quantity_to_procure (the vendor's re-order suggestion, which accounts for open orders); for a plain below-reorder-point list, compare current_inventory_level with reorder_threshold yourself. Offset paging: pass next_offset to continue (null = last page). Read-only even th…

ParameterTypeDescription
group_variantsbooleanAggregate variant families when filtering by root_product_ids.
include_compositesboolean
include_inactivebooleantrue = include inactive products.
offsetintegerOffset for the next page: pass next_offset from the previous call (default 0).
outlet_idsarrayOnly these outlets (the vendor calls them location_ids).
product_idsarrayOnly these products. Not together with root_product_ids.
root_product_idsarrayOnly these variant families (use with group_variants). Not together with product_ids.
sizeintegerRecords per page (default 100, max 500 here).
sort_directionstring
sort_typestring
supplier_idsarray
to_be_procured_onlybooleantrue = only products with a positive quantity_to_procure (not the same as below the reorder point).

lightspeedxseries_list_brands List brands

List product brands (id, name). Paginate with next_after. GET /brands.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_list_tags List tags

List product tags (id, name). Paginate with next_after. GET /tags.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_list_suppliers List suppliers

List suppliers: id, name, default markup and contact details. Paginate with next_after. GET /suppliers.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_list_consignments List stock orders (consignments)

List consignments: supplier stock orders (type SUPPLIER), transfers between outlets (OUTLET), stocktakes (STOCKTAKE) and returns (RETURN), with status (OPEN, SENT, DISPATCHED, RECEIVED, STOCKTAKE_*, CLOSED, CANCELLED), outlet, supplier, due and received dates, totals. Paginate with next_after. GET /consignments.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
outlet_idstringOnly consignments of this outlet.
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).
statusstring
typestringSUPPLIER = purchase / stock orders.

lightspeedxseries_get_consignment Get consignment

One consignment (stock order, transfer, stocktake or return) by id. GET /consignments/{consignment_id}.

ParameterTypeDescription
consignment_id *stringConsignment id (from list_consignments).

lightspeedxseries_list_consignment_products List consignment products

The product lines of one consignment: product_id, SKU, ordered count, received quantity, cost. Paginate with next_after (stop when data is empty). GET /consignments/{consignment_id}/products.

ParameterTypeDescription
consignment_id *stringConsignment id.
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_list_sales List sales (change feed)

Sales in version order, oldest changes first: the way to sync everything that changed. It has NO date filter: for a period use search_sales or sales_summary. Each sale: id, date, invoice_number, state, customer_id, source (outlet, register, user), payments, line_items, totals. Paginate with next_after (stop when data is empty). GET /sales.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_get_sale Get sale

One sale by id with its line items, payments, taxes and totals. GET /sales/{sale_id}.

ParameterTypeDescription
sale_id *stringSale id (from list_sales or search_sales).

lightspeedxseries_search_sales Search sales

Find sales by date range (UTC), state, outlet, register, user, customer, payment type, product or invoice number. Uses offset paging: pass next_offset to continue (null = last page). Replies can be large: for totals over a period use sales_summary instead of paging through this. GET /search?type=sales.

ParameterTypeDescription
customer_idstringOnly sales to this customer.
date_fromstringSales from this UTC time. YYYY-MM-DD means the start of that UTC day; or 2026-10-01T00:00:00Z. Convert local days to UTC with the retailer's time zone.
date_tostringSales up to this UTC time. YYYY-MM-DD means the END of that UTC day (23:59:59Z).
invoice_numberstring
offsetintegerOffset for the next page: pass next_offset from the previous call (default 0).
outlet_idstringOnly sales at this outlet.
page_sizeintegerRecords per page (max 1000).
payment_type_idstringOnly sales with this payment type (the payment type's config_id, shown as payments[].type.config_id in a sale).
product_idstringOnly sales containing this product.
register_idstringOnly sales on this register.
statestringSale state. On-account and layby sales are state closed (they differ by attributes).
user_idstringOnly sales by this staff user.

lightspeedxseries_sales_summary Sales summary (totals for a period)

Totals for a period computed here from up to max_pages x page_size sales, so a report needs ONE tool call instead of dozens: sale count and net / tax / gross (tax-inclusive) totals, plus breakdowns by state, UTC day, outlet and payment type name, and the top products by quantity. By default only closed sales are counted (states containing 'closed'); set counted_states to change that. Dates are UTC (convert local days with the retailer's time zone). If the reply says truncated, call again with offset = next_offset and add the figures up. Uses GET /search?type=sales.

ParameterTypeDescription
counted_statesarraySale states that count towards the totals (exact, case-insensitive). Default: every state containing 'closed'.
customer_idstringOnly sales to this customer.
date_fromstringSales from this UTC time. YYYY-MM-DD means the start of that UTC day; or 2026-10-01T00:00:00Z. Convert local days to UTC with the retailer's time zone.
date_tostringSales up to this UTC time. YYYY-MM-DD means the END of that UTC day (23:59:59Z).
invoice_numberstring
max_pagesintegerPages of page_size sales to read (default 5, max 20).
offsetintegerOffset for the next page: pass next_offset from the previous call (default 0).
outlet_idstringOnly sales at this outlet.
page_sizeintegerSales per page (default 1000).
payment_type_idstringOnly sales with this payment type (the payment type's config_id, shown as payments[].type.config_id in a sale).
product_idstringOnly sales containing this product.
register_idstringOnly sales on this register.
statestringSale state. On-account and layby sales are state closed (they differ by attributes).
user_idstringOnly sales by this staff user.

lightspeedxseries_list_customers List customers

List customers in version order: id, customer_code, name, email, phone, balance, loyalty_balance, year_to_date, customer group. To find one by name or email use search_customers. Paginate with next_after (stop when data is empty). GET /customers.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_search_customers Search customers

Find customers by email, first name, last name, company name, phone, mobile or customer code. Uses offset paging: pass next_offset to continue (null = last page). GET /search?type=customers.

ParameterTypeDescription
company_namestring
customer_codestring
deletedbooleantrue = include deleted records (default: active only).
emailstring
first_namestring
last_namestring
mobilestring
offsetintegerOffset for the next page: pass next_offset from the previous call (default 0).
page_sizeintegerRecords per page (max 1000).
phonestring

lightspeedxseries_get_customer Get customer

One customer by id: contact details, addresses, customer group, balance, loyalty balance, year-to-date spend. GET /customers/{customer_id}.

ParameterTypeDescription
customer_id *stringCustomer id (from search_customers or list_customers).

lightspeedxseries_list_customer_groups List customer groups

List customer groups (id, name). Use the id as customer_group_id when creating or updating a customer. Paginate with next_after. GET /customer_groups.

ParameterTypeDescription
afterintegerCursor: only records with a version number greater than this. Omit for the first page; then pass next_after from the previous call. Stop when data is empty.
beforeintegerOnly records with a version number up to this (rarely needed).
deletedbooleantrue = include deleted records (default: active only).
page_sizeintegerRecords per page (the vendor default applies when omitted; 50-100 keeps replies short).

lightspeedxseries_create_customer Create customer

WRITE: create a new customer. Give at least a first name, last name or company name. Check search_customers first so you do not create a duplicate. POST /customers.

ParameterTypeDescription
company_namestring
customer_codestringUnique customer code (generated when omitted on create).
customer_group_idstringCustomer group id (see list_customer_groups).
date_of_birthstring
do_not_emailboolean
emailstring
enable_loyaltyboolean
enable_promotional_smsboolean
first_namestringFirst name.
last_namestringLast name.
mobilestring
notestring
phonestring
physical_address_1string
physical_address_2string
physical_citystring
physical_country_idstringCountry code such as US, CA, AU.
physical_postcodestring
physical_statestring
physical_suburbstring

lightspeedxseries_update_customer Update customer

WRITE: change fields of an existing customer. Only the fields you pass change: the tool first reads the customer and sends the vendor its full record with your changes applied (the vendor's update is a full PUT). Cannot delete a customer or change balances. Lightspeed offers no partial update for customers, so a change made by someone else in the moments between the tool's read and its write can be overwritten. PUT /customers/{customer_id}.

ParameterTypeDescription
customer_id *stringCustomer id.
company_namestring
customer_codestringUnique customer code (generated when omitted on create).
customer_group_idstringCustomer group id (see list_customer_groups).
date_of_birthstring
do_not_emailboolean
emailstring
enable_loyaltyboolean
enable_promotional_smsboolean
first_namestringFirst name.
last_namestringLast name.
mobilestring
notestring
phonestring
physical_address_1string
physical_address_2string
physical_citystring
physical_country_idstringCountry code such as US, CA, AU.
physical_postcodestring
physical_statestring
physical_suburbstring

lightspeedxseries_update_product_prices Update product prices

WRITE: set the selling price of one product (variant). Pass price_excluding_tax or price_including_tax as a decimal string such as "24.99" (set one; the store's tax setting decides which the till uses). Nothing else on the product changes. Read the product first and confirm the new price with the user. PATCH /products/{product_id}.

ParameterTypeDescription
product_id *stringProduct id (from list_products).
loyalty_amountstringNew loyalty amount.
price_excluding_taxstringNew price before tax, e.g. "24.99".
price_including_taxstringNew price including tax, e.g. "29.99".

lightspeedxseries_set_product_stock Set product stock and reorder levels

WRITE: set the stock on hand (current_amount) and/or the reorder point and reorder amount of ONE product at ONE outlet. current_amount is the NEW TOTAL on hand, not a change: it overwrites the count, so sales made since you last read it are lost from the count. Read get_inventory_levels first and confirm the number with the user. Other outlets and all other product fields stay as they are. PATCH /products/{product_id} (outlet_inventories).

ParameterTypeDescription
outlet_id *stringOutlet id (from list_outlets).
product_id *stringProduct id (from list_products).
current_amountnumberNew stock on hand at this outlet (the total, not a delta).
reorder_amountnumberHow many to re-order.
reorder_pointnumberRe-order when stock falls to this level.