===== Методы сервиса ===== ==== Работа с подписками ==== |[[ru:vendor-api:methods:subscriptions-list-get|]]|GET|/subscriptions?reseller_id={reseller_id}&profile_id={profile_id}&offset={offset}&limit={limit}&childs={childs}| |[[ru:vendor-api:methods:subscriptions-single-get|]]|GET|/subscriptions/{id}| |[[ru:vendor-api:methods:subscriptions-create|]]|POST|/subscriptions| |[[ru:vendor-api:methods:subscriptions-actions|]]|PUT|/subscriptions/{id}?action={start/stop}| |[[ru:vendor-api:methods:subscriptions-add-child|]]|POST|/subscriptions/{id}/childs| |[[ru:vendor-api:methods:subscriptions-single-get-usage|]]|GET|/subscriptions/{id}/usage-records?from={from}&to={to}&offset={offset}&limit={limit}| |[[ru:vendor-api:methods:subscriptions-single-get-events|]]|GET|/subscriptions/{id}/events?from={from}&to={to}&offset={offset}&limit={limit}| |[[ru:vendor-api:methods:subscriptions-edit|]]|PUT|/subscriptions| ==== Работа с пользователями ==== |[[ru:vendor-api:methods:profiles-single-get|]]|GET|/profiles/{id}| |[[ru:vendor-api:methods:profiles-create|]]|POST|/profiles| |[[ru:vendor-api:methods:profiles-edit|]]|PUT|/profiles| ==== Работа с лицформами ==== |[[ru:vendor-api:methods:rules-list-get|]]|GET|/license-form-rules?entity_type={entity_type}&offer_id={offer_id}| ==== Работа с офферами ==== |[[ru:vendor-api:methods:offers-list-get|]]|GET|/offers/{id}|