Skip to main content

Services Reference

All services are accessible via useStackfront() and can be used imperatively outside React components.

ApiClient

HTTP client for the Stackfront REST API.

StorefrontClient

GraphQL client for the Shopify Storefront API.

StorageService

AsyncStorage wrapper for local persistence.

EventService

Batched event tracking pipeline.

DeviceService

Push notification device registration and management.

ConfigService

Remote SDK configuration.

ProductService

Product and collection queries via Storefront GraphQL.

CartService

Cart CRUD via Storefront GraphQL mutations.

CustomerService

Customer authentication, profile, and orders.

LoyaltyService

Points, tiers, transactions, and referral program.

ReviewService

Product review management.

StoryService

Story/collection highlights.

SocialProofService

Live social proof signals.

IntegrationService

Third-party integration data.

WishlistService

Local wishlist persistence.

BillingService

App subscription billing.