Get Plan Details
Returns the full configuration and pricing details for a specific plan. Used on the plan detail page to show features, pricing tiers, and included benefits.
Authentication
No authentication required for public plan details.
Path Parameters
Numeric identifier of the plan. Returned as Id from the published plans endpoint.
Query Parameters
Comma-separated list of field paths to include in the response. When provided, only the
specified fields are returned — useful for reducing payload size. Supports nested paths
using dot notation. Example: _shape=Name,Price,Description,InvoiceEvery,TimePasses,ExtraServices.
Response
Returns a Tariff object with full plan configuration.
Unique identifier for the plan.
Display name of the plan.
Full plan description. May contain HTML.
Examples
Fetch plan details
TypeScript Integration
import endpoints from '@/api/endpoints'
const { resource: plan } = useTypedData(httpClient, endpoints.plans.one(12))