Для 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":[]}].