Tarife planını günceller. {id} planın id değeridir.
Header Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Authorization |
text |
Yes | v1/auth/token endpointten alınan token |
X-On-Behalf-Of-Channel |
text |
No | İşlemin hangi kanal adına yapılacağı (kanal id) |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
text |
Yes | Plan id |
type |
text |
Yes | Tarife tipi |
channelId |
text |
No | Kanal id |
validityStart |
text |
No | Geçerlilik başlangıcı (YYYY-MM-DD) |
validityEnd |
text |
No | Geçerlilik bitişi (YYYY-MM-DD) |
name |
text |
No | Plan adı |
amount |
text |
No | Paket adedi |
price |
text |
No | Fiyat |
duration |
text |
No | Süre (ay) |
status |
text |
No | Plan durumu |
visible |
text |
No | Müşteriye görünür mü |
Response Codes
| Code | Description |
|---|---|
200 |