Skip to main content
PUT
Update product access time

Авторизации

Authorization
string
header
обязательно

API token from the Zenedu dashboard

Параметры пути

bot
integer
обязательно

Bot ID

student
integer
обязательно

Subscriber ID

product
integer
обязательно

Product ID

Тело

application/json
option
enum<string>
обязательно

Access mode

Доступные опции:
unlimited,
close,
duration,
date
delay
integer | null

Days of access; required when option is duration

Требуемый диапазон: 1 <= x <= 999
access_until
string<date-time> | null

UTC date in the future; required when option is date

Ответ

Updated participation

data
object

Participation of a subscriber in a product or funnel