К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-pricing.mdиндекс документации — /llms.txt

REST: pricing

Обновлено

Выберите операцию: полный контракт доступен по ссылке. Scopes: ALL; auth alternatives: OR.

listPromoCodes

GET /api/v1/promo-codes — listPromoCodes

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

createPromoCode

POST /api/v1/promo-codes — createPromoCode

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

deletePromoCode

DELETE /api/v1/promo-codes/{id} — deletePromoCode

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

updatePromoCode

PATCH /api/v1/promo-codes/{id} — updatePromoCode

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

pausePromoCode

PUT /api/v1/promo-codes/{id}/paused — pausePromoCode

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

restorePromoCodeVersion

POST /api/v1/promo-codes/{id}/restore — restorePromoCodeVersion

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

getPromoCodeUsage

GET /api/v1/promo-codes/{id}/usage — getPromoCodeUsage

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

listPromoCodeVersions

GET /api/v1/promo-codes/{id}/versions — listPromoCodeVersions

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

setBuyerRecommendations

PUT /api/v1/users/{user_id}/recommendations — setBuyerRecommendations

Scopes (ALL): ["pricing:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права