Skip to main content
PUT
Update a treatment

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The treatment identifier

Gövde

application/json
name
string

Treatment name.

Maximum string length: 255
invoice_name
string | null

Invoice display name. Falls back to the treatment name when empty.

Maximum string length: 255
group_id
integer | null

Treatment group identifier (must belong to current tenant). Pass null to detach.

price
number

Treatment price.

Gerekli aralık: x >= 0
keywords
string[] | null

Search keywords for the treatment.

A keyword string.

Maximum string length: 100
tax_rate
enum<integer>

Tax rate (KDV).

Mevcut seçenekler:
0,
1,
10,
20
description
string | null

Treatment description.

Maximum string length: 65535
session
integer | null

Number of sessions.

Gerekli aralık: x >= 1
is_active
boolean | null

Active status.

extra_info
object

Extra information as associative key-value pairs.

Örnek:
sessions
object[]

Treatment sessions plan.

Yanıt

success
string
gerekli
data
TreatmentResource · object
gerekli