Methods reference for Supertab.api
Supertab.api
provides a streamlined interface for making authenticated requests to the Customer API. This client handles the underlying HTTP communication, authentication, and error management, allowing developers to interact directly with Customer API endpoints.
While some endpoints don’t require authentication, users must be authenticated via Supertab.auth first to call endpoints with mandatory authentication. Once authenticated, the API client automatically includes the necessary authorization headers with each request.
This interface is particularly useful for custom integrations that require direct control over API interactions beyond what the pre-built experiences provide.
retrieveCustomer
retrieveSite
checkEntitlement
purchase
offeringId
or onetimeOfferingId
must be provided.retrievePurchase