---
title: Create Basic Product
description: Basit ürün oluşturur
---

İstek yöntemi: POST
Uç nokta: `{{API URL}}`

```graphql
mutation CreateProduct($input: CreateProductInput!) {
  createProduct(input: $input) { id name variants { id sku prices { sellPrice } } }
}
```

Örnek Değişkenler: Postman koleksiyonundaki örnek kullanılmıştır.

### cURL

```bash
curl -X POST 'https://api.myikas.dev/api/v2/admin/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  --data-raw '{
    "query": "mutation CreateProduct($input: CreateProductInput!) { createProduct(input: $input) { id name variants { id sku } } }",
    "variables": { "input": { "name": "Basit Ürün", "type": "PHYSICAL", "variants": [ { "sku": "SKU", "isActive": true, "prices": [ { "sellPrice": 100 } ] } ] } }
  }'
```


