Get Checkout Types
Returns the system enum values for resource types, tariff types, and product types available in the checkout flow. Used to configure the checkout UI based on what the operator has enabled for members vs. contacts.
Authentication
No authentication required.
Query Parameters
When true, returns only types the operator has made visible in the portal.
Optional business ID to scope types to a specific location.
Response
ResourceTypes
eSystemResourceType[]
required
All resource types available for checkout.
All tariff/plan types available for checkout.
All product types available for checkout.
ResourceTypesMembers
eSystemResourceType[]
required
Resource types available specifically to members.
ResourceTypesContacts
eSystemResourceType[]
required
Resource types available specifically to contacts.
Product types available specifically to members.
Product types available specifically to contacts.
Examples
Fetch checkout types
GET /api/public/checkout/types?onlyVisible=true
TypeScript Integration
import endpoints from '@/api/endpoints'
const { resource: types } = useTypedData(httpClient, endpoints.checkout.types(true))