# Products

> Shoplazza AI Toolkit prompts for the shoplazza-products skill: create a product, search the catalog, reprice a variant, restock, add tags, and publish.

Natural-language prompts for the `shoplazza-products` skill. Prefix each request with `/shoplazza-products`, then describe the task. Each example shows the prompt and what the agent does behind the scenes.

## Prerequisites

* [Get started](../get-started)
* Authenticate against your store: `shoplazza auth login --store-domain <domain> --domain products`

## Examples

### 1. Create a product

```
/shoplazza-products Add a new product: Summer print T-shirt, priced 129, main image from https://cdn.example.com/tee.png
```

The agent creates the product with the given title, price, and main image, then returns the new product ID.

### 2. Search with field projection

```
/shoplazza-products Show me all published products with "shirt" in the name
```

Runs `products +search --keyword "shirt"` and trims the output to the relevant fields.

### 3. Change a variant price

```
/shoplazza-products For the variant with SKU TEE-RED-L, set the sale price to 99 and the compare-at price to 129
```

Targets the specific variant and updates its pricing.

### 4. Restock

```
/shoplazza-products Restock the TEE-RED-L variant with 200 units
```

Adjusts inventory for that variant.

### 5. Add tags without overwriting

```
/shoplazza-products Add the tags "summer" and "sale" to product 445566 — don't drop the existing tags
```

The agent reads the current tags first, then appends, so existing tags are preserved.

### 6. Publish

```
/shoplazza-products Publish product 445566
```

Publishes the product to the online store.

## See also

* [Discounts examples](./discounts)
* [Orders examples](./orders)
* [Shoplazza CLI: Products commands](/docs/app/developer-tools/shoplazza-cli/commands/products)
