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

# Marketplace Products

> Manage products across your marketplace.

# Marketplace Products

Create and manage products for sub-merchants in your marketplace.

## Endpoints

| Method | Path                                 | Description                   |
| ------ | ------------------------------------ | ----------------------------- |
| POST   | `/marketplace/products`              | Create product                |
| GET    | `/marketplace/products`              | List all marketplace products |
| GET    | `/marketplace/products/:id`          | Get product with variants     |
| PATCH  | `/marketplace/products/:id`          | Update product                |
| DELETE | `/marketplace/products/:id`          | Delete product                |
| POST   | `/marketplace/products/:id/variants` | Create/replace variants       |
| GET    | `/marketplace/products/:id/variants` | Get variant tree              |

Refer to the [API Reference](/api-reference/introduction) for detailed request/response formats.
