π Lightspeed Retail (R-Series): Data Mapping & Synchronisation
This guide details the specific field mappings and logic used for the Lightspeed R-Series POS integration. Unlike C-Series integration, this connection uses the Retail API endpoints (e.g., /Item.json, /Sale.json).
πΊοΈ Data Mapping Details
1. Products
Endpoint: /Item.json
Optiply | Lightspeed R-Series | Logic / Notes |
Remote ID |
| Unique identifier. |
Name |
| Product name |
SKU Code |
| Priority: Uses |
Unit Price |
| Uses the price where |
Stock Level |
| Quantity on Hand (QOH) for the selected shop. |
Status |
| If |
EAN Code |
| - |
Assembled |
| If |
Created At |
| - |
Minimum Stock |
| - |
β οΈ Important SKU Logic:
Lightspeed Retail has two SKU types:
systemSku: Read-only, system-generated.
customSku: User-editable.
Optiply prioritises the customSku. This means if you update the custom SKU in Lightspeed, it will update in Optiply.
π¦ Item Types:
default: Normal items (Synced).
non_inventory: Inventory not tracked (Filtered outβnot synced).
assembly: Components build assembly items (Mapped as Assembled).
box: Box items break down into singles (Mapped as Assembled).
Variants: Items with
itemMatrixId > 0are treated as individual items; the matrix structure does not affect the integration.
2. Product Compositions
Endpoint: /Item.json (Assembly Logic)
Optiply | Lightspeed R-Series |
Composed Product ID |
|
Part Product ID |
|
Part Quantity |
|
Remote ID |
|
3. Suppliers
Endpoint: /Vendor.json
Optiply | Lightspeed R-Series |
Name |
|
Remote ID |
|
4. Supplier Products
Endpoint: /Item.json?load_relation=["ItemVendorNums"]
Optiply | Lightspeed R-Series | Notes |
Name |
| - |
Remote ID |
| Unique identifier. |
Price |
| Supplier Cost Price. |
SKU Code |
| Same logic as Products. |
Status |
| If |
EAN Code |
| - |
Product ID |
| - |
Supplier ID |
| - |
Preferred |
| The Default Vendor in Lightspeed is marked as Preferred. |
5. Sell Orders
Endpoint: /Sale.json
Optiply | Lightspeed R-Series | Logic / Notes |
Total Value |
| - |
Remote ID |
| - |
Placed Date |
| - |
Deleted |
| If |
Note on Voided Orders: The voided field indicates a completed sale was cancelled or returned. Optiply handles this by deleting the sales order to ensure your historical demand data remains accurate.
6. Sell Order Lines
Endpoint: /Sales.json?load_relations=["SaleLines"]
Optiply | Lightspeed R-Series |
Product ID |
|
Remote ID |
|
Quantity |
|
Subtotal Value |
|
7. Buy Orders (R-Series β Optiply)
Endpoint: /Order.json
Optiply | Lightspeed R-Series | Logic |
Placed Date |
| - |
Supplier ID |
| - |
Total Value |
| - |
Completed |
| If |
Expected Delivery |
| - |
Remote ID |
| - |
8. Buy Order Lines (R-Series β Optiply)
Endpoint: /Order.json?load_relations=["OrderLines"]
Optiply | Lightspeed R-Series |
Buy Order ID |
|
Subtotal Value |
|
Product ID |
|
Remote ID |
|
Quantity |
|
9. Buy Orders (Optiply β R-Series)
Endpoint: /Order.json
Optiply | Lightspeed R-Series |
Placed Date |
|
Supplier ID |
|
Expected Delivery |
|
Optiply ID |
|
10. Buy Order Lines (Optiply β R-Series)
Endpoint: /OrderLine.json
Optiply | Lightspeed R-Series |
Buy Order ID |
|
Product ID |
|
Quantity |
|
Price |
|
11. Receipt Lines (Item Deliveries)
Endpoint: /Shipment.json?load_relation=["OrderShipmentItems"]
Optiply | Lightspeed R-Series | Notes |
Quantity |
| - |
Occurred |
| - |
Remote ID |
| - |
Buy Order Line ID |
| Composite identifier. |
β Frequently Asked Questions (FAQs)
Which SKU does Optiply use?
Lightspeed Retail has two SKU fields: systemSku (generated by Lightspeed) and customSku (editable by you). Optiply prioritises the customSku. If that field is empty, we fall back to the systemSku.
Why are some of my products missing?
Check the "Item Type" in Lightspeed. Optiply filters out items marked as non_inventory (service items or non-tracked goods). We only sync items with types default, assembly, or box.
What happens if I void a sale in Lightspeed?
If you mark a sale as voided (cancelled/returned) In Lightspeed, Optiply automatically marks that Sales Order as Deleted. This prevents the returned sale from inflating your sales history and affecting future forecasts.
How are "Box" items handled?
Items marked as box in Lightspeed are treated as assembled products in Optiply. This allows us to understand that the box is composed of multiple single items.
