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

# Zonely API

> Используйте операции GET и POST, доступные с помощью ключа API на панели.

Всего по этой ссылке **507 API Операция** Доступно: **137 GET**, **370 POST**.

## Почта · Создать продукт

```bash theme={"theme":"css-variables"}
curl --request POST \
  "https://example.com/Files/Controllers/ControllersAll.php?main=Products&container=ProductsAddController" \
  --header "X-API-Key: $ZONELY_API_KEY" \
  --form "name=Стартовый набор" \
  --form "categoryIDs=1" \
  --form "details=Описание набора" \
  --form "price=149" \
  --form "image=@product.png"
```

`example.com` Введите адрес вашего сайта. `ZONELY_API_KEY`Переключитесь с панели управления API. Зоны продуктов [Создавать продукты](https://docs.zonely.gen.tr/ru/developers/operations/create-products.md) место.

## GET · Список продуктов

```bash theme={"theme":"css-variables"}
curl "https://example.com/Files/Controllers/ControllersAll.php?main=Products&container=ProductsListController&start=0&length=10" \
  --header "X-API-Key: $ZONELY_API_KEY"
```

## Отправить запрос

Ваш ключ API на панели действителен в существующих торговых адресах. Запрос заголовка `X-API-Key` добавьте; по адресу `main` и `container` Получите значения из ссылки. Отправьте тело в JSON или формат формы, который он показывает.

[API коммутатор](https://docs.zonely.gen.tr/ru/developers/api-switch.md) · [Все транзакции](https://docs.zonely.gen.tr/ru/developers/api-operations.md) · [Запросить образцы](https://docs.zonely.gen.tr/ru/developers/request-samples.md)


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