# plugin-shop

`@fayz-ai/plugin-shop` · preview · Partial capability

Every vertical eventually wants to sell something. A salon sells retail product, a restaurant sells gift cards, a clinic sells packages. plugin-shop is the e-commerce admin surface that snaps into that need — a catalog, orders, customers, and discounts — without making you rebuild Shopify from scratch.

## Specs

- **Package:** `@fayz-ai/plugin-shop`
- **Version:** 0.2.5
- **Status:** preview
- **Capability:** Partial capability
- **Product type:** E-commerce
- **Stable channel:** `^0.2.5`
- **Migrations:** none
- **Factory:** `createShopPlugin()`

## Data model

No tables of its own — this plugin uses the core / archetype library (same rule: tenant_id + RLS)..

## AI tools

| id | mode | description |
| --- | --- | --- |
| `shop.list-products` | read | Lists products in the shop catalog. |
| `shop.list-orders` | read | Lists recent shop orders. |

## Integrations

No hosted connector — external providers come in via the connector spine (`@fayz-ai/core`).

## Integrate

Add the plugin to surfaces.admin.plugins in your app's app.manifest.json and run the doctor to validate:

```json
{ "surfaces": { "admin": { "plugins": [ { "id": "shop", "enabled": true } ] } } }
```

```bash
npx fayz doctor
```
