> ## Documentation Index
> Fetch the complete documentation index at: https://developers.xfaster.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Market overview

> When to use the Market kit.

Use this kit for **grocery and market** POS systems: barcodes, stock levels, sale prices, weighed items and new products. Everything in the Restaurant kit works too.

## Who does what

| Direction | Who calls | Purpose |
| - | - | - |
| Orders | XFaster → your endpoint | Webhooks; you fetch the order. Lines are final after picking. |
| Catalog | Your POS → XFaster | Price, sale price, stock, on/off by barcode, new products |

<Info>
  On Comax? XFaster connects to Comax itself. See the [Comax kit](/comax/overview).
</Info>

## Stock or on/off

* **Stock counts reliable:** send `stock`. A customer cannot order more than the stock, and each order takes its quantity off.
* **Not reliable:** send only `available`. XFaster keeps a high stock (999) and the store switches items off when they run out.

## Weighed items and units

* `unit` is the sales unit as the store wrote it (`ק״ג`, `100 גרם`, `יחידה`).
* `by_weight: true` marks products weighed at picking. The price is per `unit`.
* Match products on your item code or the product barcode, never on a scale label (prefix 2x).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.