# Lightspeed eCom (C-Series) — Ecommerce API: gotchas

> Canonical URL: https://developers.apideck.com/apis/ecommerce/lightspeed-ecommerce/gotchas

## GET /ecommerce/orders

Lightspeed Ecommerce does not expose a total record count in list responses. `meta.total_count` will not appear.

`line_items[].total_amount` is computed as `(price × quantity) − sum(discounts[].total) + tax`. When the store uses gross pricing (`pricesIncludeTax: true`), `items[].price` already includes tax and `items[].tax` is not added to avoid double-counting. `line_items[].unit_price` uses `items[].price`, which includes option-modifier surcharges over the base SKU price (`productPrice` is not used because it omits modifiers).

The list endpoint (`GET /orders`) does not embed order products, so `line_items[]` is not populated on list responses. Fetch the single-order endpoint (`GET /orders/{id}`) to retrieve `line_items[]` with per-item pricing, tax, and discounts.

## GET /ecommerce/orders/{id}

`line_items[].total_amount` is computed as `(price × quantity) − sum(discounts[].total) + tax`. When the store uses gross pricing (`pricesIncludeTax: true`), `items[].price` already includes tax and `items[].tax` is not added to avoid double-counting. `line_items[].unit_price` uses `items[].price`, which includes option-modifier surcharges over the base SKU price (`productPrice` is not used because it omits modifiers).

## GET /ecommerce/products

Lightspeed Ecommerce does not expose a total record count in list responses. `meta.total_count` will not appear.

## GET /ecommerce/customers

Lightspeed Ecommerce does not expose a total record count in list responses. `meta.total_count` will not appear.


[API reference](https://developers.apideck.com/apis/ecommerce/reference.md) · [Coverage matrix](https://developers.apideck.com/apis/ecommerce/coverage)
