Application Load
ITariffSubscribeRequest
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
ITariffSubscribeRequestFields for creating a subscription through subscriptions_subscribe.
src/lib/interfaces/orionplace/subscribeTariff/ITariffSelection.tsexport interface ITariffSubscribeRequest {
// tariff.id — the selected tariff.
tariff: number;
// tariff.prices[i].tariff_cost_id. Omitted for a trial, which requires
// positive trial_days.
period?: number;
// ID from the selected tariff’s `options`. If the request returns an error
// requiring an option, let the customer select one.
option?: number;
// Optional promo code, up to 20 characters. Not sent for a trial.
attach_issue?: string;
}