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

# Ürün parametre değerini güncelle

> Parametre değerinin tüm alanlarını günceller.

Tek tek alan değiştirecekseniz [kısmi güncellemeyi](/tr/v1/guides/partial-update) kullanın: `PATCH` yalnızca gönderdiğiniz alanları değiştirir.
Bir üründe aynı parametre tanımı yalnızca bir kez kullanılabilir. `Value` formatı tanımın tipine göre değişir:

| Tip | Anlamı        | Örnek `Value`           |
| --- | ------------- | ----------------------- |
| 0   | Metin         | `"Galvaniz"`            |
| 1   | Evet/Hayır    | `true`                  |
| 2   | Tam sayı      | `12`                    |
| 3   | Ondalık sayı  | `12.5`                  |
| 4   | Tarih         | `"2026-09-17"`          |
| 5   | Saat          | `"14:30"`               |
| 6   | Tarih ve saat | `"2026-09-17T14:30:00"` |

Oluşturulduktan sonra `ParameterDefinitionId` değiştirilemez (`2211`); yalnızca `Value` güncellenebilir. Farklı bir tanım kullanmak isterseniz bu kaydı silip yeni bir tane oluşturun.


## OpenAPI

````yaml api-reference/openapi.tr.json PUT /api/v1/products/{productId}/parameters/{parameterId}
openapi: 3.1.1
info:
  title: Noyax API
  description: Server-to-server API for integrations to access Noyax data.
  version: '1.0'
servers:
  - url: https://api.noyax.com
security:
  - Bearer: []
tags:
  - name: Sections
  - name: Warehouses
  - name: Product Critical Stock
  - name: Product groups
  - name: Product Parameter Definitions
  - name: Product Parameters
  - name: Product Prices
  - name: Products
  - name: Cities
  - name: Countries
  - name: Currencies
  - name: Districts
  - name: Shipment Definitions
  - name: Units
  - name: VAT rates
  - name: Customer Addresses
  - name: Customer Bank Accounts
  - name: Customer Definitions
  - name: Customer Group Members
  - name: Customer Links
  - name: Customer Parameters
  - name: Customer Representatives
  - name: Customers
  - name: Customer Statement
  - name: Customer Telephones
paths:
  /api/v1/products/{productId}/parameters/{parameterId}:
    put:
      tags:
        - Product Parameters
      summary: Parametre değerini güncelle
      description: >-
        Parametre değerinin bütün alanlarını değiştirir. Gönderilmeyen alanlar
        temizlenir. Bir parametre tanımı her üründe yalnızca bir kez
        kullanılabilir. Value, tanımın tipine göre yorumlanır.
      parameters:
        - name: productId
          in: path
          description: Ürün ID'si.
          required: true
          schema:
            type: string
            format: uuid
        - name: parameterId
          in: path
          description: Parametre değeri ID'si.
          required: true
          schema:
            type: string
            format: uuid
        - name: X-UserID
          in: header
          description: >-
            İsteğin adına yapıldığı Noyax kullanıcısının ID'si. Oluşturulan,
            güncellenen ve silinen kayıtların denetim alanlarına yazılır.
          required: true
          schema:
            minimum: 1
            type: integer
            format: int32
        - name: X-CompanyID
          in: header
          description: >-
            Şirketin ID'si. Kullanıcı bu şirkete tanımlı olmalıdır. Bütün okuma
            ve yazma işlemleri bu şirketle sınırlıdır.
          required: true
          schema:
            minimum: 1
            type: integer
            format: int32
        - name: X-PeriodID
          in: header
          description: >-
            Muhasebe döneminin ID'si. Cari endpoint'lerinde isteğe bağlıdır;
            gönderilirse oluşturulan kayıtlara yazılır.
          schema:
            minimum: 1
            type: integer
            format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductParameterRequestDto'
          text/json:
            schema:
              $ref: '#/components/schemas/ProductParameterRequestDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ProductParameterRequestDto'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResultOfProductParameterDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResult'
              example:
                Success: false
                ResultCode: '2202'
                Message: Parameter definition not found.
                Errors:
                  - Code: '2202'
                    Message: Parameter definition not found.
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResult'
              example:
                Success: false
                ResultCode: '0102'
                Message: Token has expired. Obtain a new token using the refresh token.
                Errors:
                  - Code: '0102'
                    Message: >-
                      Token has expired. Obtain a new token using the refresh
                      token.
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResult'
              example:
                Success: false
                ResultCode: '0110'
                Message: You do not have permission for this operation.
                Errors:
                  - Code: '0110'
                    Message: You do not have permission for this operation.
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResult'
              example:
                Success: false
                ResultCode: '2000'
                Message: Product not found.
                Errors:
                  - Code: '2000'
                    Message: Product not found.
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResult'
              example:
                Success: false
                ResultCode: '0120'
                Message: Daily request limit (10000) exceeded.
                Errors:
                  - Code: '0120'
                    Message: Daily request limit (10000) exceeded.
components:
  schemas:
    ProductParameterRequestDto:
      type: object
      properties:
        ParameterDefinitionId:
          type:
            - 'null'
            - string
          description: >-
            Zorunlu. GET /api/v1/products/parameter-definitions ile dönen bir
            parametre tanımının ID'si.
          format: uuid
        Value:
          description: >-
            Zorunlu. Biçim, tanımın tipine göre değişir. 0: Metin, 1:
            true/false, 2: Tamsayı, 3: Ondalık (ayraç olarak nokta), 4: Tarih,
            5: Saat, 6: Tarih ve saat (ISO 8601, ör. "2026-09-17T14:30:00").
          example: Galvaniz
    DataResultOfProductParameterDto:
      required:
        - Success
        - ResultCode
        - Data
      type: object
      properties:
        Success:
          type: boolean
          description: İşlemin başarılı olup olmadığı.
          example: true
        ResultCode:
          type: string
          description: >-
            Başarıda "0000". Hatada ilk hatanın kodu; hataların tamamı Errors
            içinde listelenir.
          example: '0000'
        Message:
          type:
            - 'null'
            - string
          description: >-
            Success false olduğunda hata mesajı. Bütün hataların mesajları tek
            metinde birleştirilir.
        Data:
          $ref: '#/components/schemas/ProductParameterDto'
    ErrorResult:
      type: object
      properties:
        Success:
          type: boolean
          description: İşlemin başarılı olup olmadığı.
          example: false
        ResultCode:
          type:
            - 'null'
            - string
          description: >-
            Başarıda "0000". Hatada ilk hatanın kodu; hataların tamamı Errors
            içinde listelenir.
        Message:
          type:
            - 'null'
            - string
          description: >-
            Success false olduğunda hata mesajı. Bütün hataların mesajları tek
            metinde birleştirilir.
        Errors:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/ResultError'
          description: >-
            Kodlarıyla birlikte bütün hatalar. Yalnızca Success false olduğunda
            bulunur.
    ProductParameterDto:
      type: object
      properties:
        Id:
          type: string
          description: Parametre ID'si.
          format: uuid
        ProductId:
          type: string
          description: Ürün ID'si.
          format: uuid
        ParameterDefinitionId:
          type:
            - 'null'
            - string
          description: Parametre tanımı ID'si.
          format: uuid
        ParameterName:
          type:
            - 'null'
            - string
          description: Parametre tanımının adı.
          example: Malzeme
        ParameterType:
          type:
            - 'null'
            - integer
          description: >-
            0: Metin, 1: Evet/Hayır, 2: Tamsayı, 3: Ondalık, 4: Tarih, 5: Saat,
            6: Tarih ve saat.
          format: int32
        Value:
          description: ParameterType alanının belirttiği biçimde değer.
    ResultError:
      required:
        - Code
        - Message
      type: object
      properties:
        Code:
          type: string
          description: Hata kodu. Tam liste için sonuç kodları sayfasına bakın.
        Message:
          type: string
          description: Hata açıklaması.
  securitySchemes:
    Bearer:
      type: http
      description: Access token obtained from the Noyax auth service with your API key.
      scheme: bearer
      bearerFormat: JWT

````