---
title: "PUT /api/products/{id}"
method: PUT
path: "/api/products/{id}"
tags: ["products"]
---

# PUT /api/products/{id}

`PUT /api/products/{id}`

Update product

## Path parameters

- `id` integer, required

## Request body

- PutApiProductsId — Update product
  - `key` string — API KEY
  - `secret` string — API SECRET
  - `name` string, required — Product name
  - `success_url` string
  - `cancel_url` string
  - `error_url` string
  - `webhook_endpoint_ids` string[]
  - `webhook_url` string
  - `page_header` string
  - `page_footer` string
  - `free` boolean
  - `active` boolean
  - `private` boolean
  - `performance_period` boolean
  - `performance_period_type` 'purchase_date' | 'custom_text' | 'relative_date'
  - `performance_period_text` string
  - `form` 'download' | 'course' | 'event' | 'service'
  - `webhook_endpoint_form` 'all_webhook_endpoints' | 'selected_webhook_endpoints' | 'no_webhook_endpoints'
  - `forward` object
    - `first_name` string
    - `last_name` string
    - `email` string
    - `coupon` string
    - `campaign_id` string
  - `team_members` object[]
    - `id` integer, required
    - `commission` integer
  - `prices_attributes` object[] — An array of prices
    - `id` integer
    - `position` integer
    - `pricing_plan_id` integer, required
  - `success_email` object
    - `subject_en` string
    - `subject_de` string
    - `body_en` string
    - `body_de` string

## Response `200`

Update product

---

[API](https://skmtc.dev/myablefy/apis/api-title.md) · [All operations](https://skmtc.dev/myablefy/apis/api-title/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myablefy/api-title/revisions/4b34da2462ed/schema)
