> ## 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.

# Create products

> Request URL and parameters for the Create products operation.

```http theme={"theme":"css-variables"}
POST /Files/Controllers/ControllersAll.php?main=Products&container=ProductsAddController
```

[Products, Categories and Coupons](https://docs.zonely.gen.tr/en/developers/modules/products-categories-and-coupons)


## OpenAPI

````yaml api-specs/products-productsaddcontroller.json POST /Files/Controllers/ControllersAll.php
openapi: 3.1.0
info:
  title: Ürün oluştur
  version: '2026-10-27'
  description: Ürün oluştur işleminin istek ve yanıt alanları.
servers:
  - url: https://example.com
    description: Örnek alan adı — kendi Zonely kurulumunuzla değiştirin
security: []
paths:
  /Files/Controllers/ControllersAll.php:
    post:
      summary: Ürün oluştur
      description: >-
        Bu örnek dijital ürün formunun alanlarından seçilmiştir. Diğer ürün
        türlerinde alanlar farklıdır. Her kurulumda kategori, geliştirici, stok,
        teslimat ve ürün tipi kuralları ayrı doğrulanır.
      operationId: Products_ProductsAddController
      parameters:
        - name: main
          in: query
          required: true
          schema:
            type: string
            enum:
              - Products
            default: Products
          example: Products
          description: Bu işlemin modülü.
        - name: container
          in: query
          required: true
          schema:
            type: string
            enum:
              - ProductsAddController
            default: ProductsAddController
          example: ProductsAddController
          description: Modülle birlikte gönderilecek işlem adı.
      requestBody:
        required: true
        description: İstek alanı.
        content:
          multipart/form-data:
            schema:
              title: Ürün oluştur
              type: object
              properties:
                name:
                  type: string
                  description: Ürün adı
                init:
                  type: string
                  description: Ürün kısa bilgisi
                details:
                  type: string
                  description: Ürün ek açıklaması
                categoryIDs:
                  type: string
                  description: Dijital ürün kategorisi
                developerID:
                  type: string
                  description: Ürün geliştirici kimliği
                contents:
                  type: string
                  description: Ürün içerik açıklaması
                price:
                  type: string
                  description: Ücretli ürünün fiyatı
                image:
                  type: string
                  format: binary
                  description: Ana ürün görseli
                variantIDs:
                  type: string
                  description: Varyant kimlikleri; panel boşken []
                productQuestions:
                  type: string
                  description: Ürünün ek soruları; panel boşken []
                extraServices:
                  type: string
                  description: Ek hizmetler; panel boşken []
              required: []
              additionalProperties: true
              examples:
                - name: Başlangıç Paketi
                  init: Baslangic paketi
                  details: Dijital ürün açıklaması
                  categoryIDs: '1'
                  price: '49.90'
                  insertProducts: OTURUM_FORMUNUN_CSRF_DEGERI
      responses:
        '200':
          description: İşlem controller'ının yanıtı.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '302':
          description: Oturum veya güvenlik katmanı yönlendirmesi olabilir.
        '401':
          description: Oturum doğrulaması gerekli olabilir.
        '403':
          description: İstek alanı.
      security:
        - {}
        - ApiKey: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl --request POST \
              --url "https://siteadresiniz.example/Files/Controllers/ControllersAll.php?main=Products&container=ProductsAddController" \
              --header "X-API-Key: $ZONELY_API_KEY" \
              --form 'name=ALAN_DEGERI' \
              --form 'init=ALAN_DEGERI' \
              --form 'details=ALAN_DEGERI' \
              --form 'categoryIDs=ALAN_DEGERI' \
              --form 'developerID=ALAN_DEGERI' \
              --form 'contents=ALAN_DEGERI' \
              --form 'price=ALAN_DEGERI' \
              --form 'image=@DOSYA_YOLU' \
              --form 'variantIDs=ALAN_DEGERI' \
              --form 'productQuestions=ALAN_DEGERI' \
              --form 'extraServices=ALAN_DEGERI'
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Yönetim panelindeki API anahtarınız.

````

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