> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firmhouse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Developer guides

> Browse practical guides for building custom Firmhouse integrations and developer workflows.

Guides

# Developer guides

Practical examples for using Firmhouse APIs, Liquid, and webhooks with external e-commerce builds.

API integrations are available on the **Advanced plan or higher**.

Headless, Adobe, SFCC

Automation and webhooks

GraphQL API

React and Next.js storefronts

## Headless, Magento, Salesforce Commerce Cloud

Guides for connecting external e-commerce platforms and customer account experiences to Firmhouse.

Headless, Magento, Salesforce Commerce Cloud

### [Log customers into the Self Service Center with a token](https://docs.firmhouse.com/developers/guides/self-service-center-token-login)

Generate a Self Service Center login token by email address and redirect customers into their portal session.

GraphQL API
Self Service Center

Headless, Magento, Salesforce Commerce Cloud

### [Build a paid plan switch or upgrade flow](https://docs.firmhouse.com/developers/guides/switch-upgrade-plan-flow-requires-payment)

Let customers switch plans only after accepting an offer and completing an initial payment.

GraphQL API
Offers

Headless, Magento, Salesforce Commerce Cloud

### [Activate with a recalculated billing date](https://docs.firmhouse.com/developers/guides/activate-subscription-with-recalculated-billing-date.md)

Activate delayed subscriptions through the GraphQL API and recalculate the plan billing date from activation.

GraphQL API
Activation

## GraphQL API

Guides for working with Firmhouse data through the GraphQL API. For large exports that would otherwise run into query complexity or timeout limits, use GraphQL bulk operations.

GraphQL API

### [Run large queries with bulk operations](https://docs.firmhouse.com/developers/guides/run-graphql-bulk-operation-queries.md)

Start an asynchronous GraphQL query, track its status, and download connection results as JSONL.

GraphQL API
JSONL

GraphQL API

### [Replace subscription products in one request](https://docs.firmhouse.com/developers/guides/replace-subscription-products.md)

Swap several products together while keeping quantities and custom prices, with guidance on shipment cadence.

GraphQL API
Integration

GraphQL API

### [Trace payment and invoice history](https://docs.firmhouse.com/developers/guides/trace-payment-and-invoice-history.md)

Reconcile payment retries, chargeback timestamps, and Shopify invoice line attributes.

GraphQL API
Integration

GraphQL API

### [Query customer order history](https://docs.firmhouse.com/developers/guides/query-customer-order-history.md)

Fetch orders across a customer's subscriptions in one paginated query, filtered by email and statuses.

GraphQL API
Customer accounts

## Automation and webhooks

Guides for reacting to Firmhouse events and keeping external workflows in sync with subscription activity.

GraphQL API

### [Send bespoke subscription messages](https://docs.firmhouse.com/developers/guides/send-bespoke-subscription-notifications.md)

Send purpose-specific Liquid messages through your project's configured email or Klaviyo channel.

Integration
GraphQL API

Automation and webhooks

### [Update discount amounts on each order](https://docs.firmhouse.com/developers/guides/update-discount-amount-on-each-order)

Use webhooks and GraphQL to increase a subscription discount after each confirmed order.

Webhooks
GraphQL API

## React and Next.js storefronts

Guides for building custom storefronts on top of Firmhouse using JavaScript frameworks and the GraphQL API.

React and Next.js storefronts

### [Create a storefront app](https://docs.firmhouse.com/developers/guides/creating-a-storefront-app)

Build a custom storefront flow with products, plans, carts, address details, and payment links.

GraphQL API
Checkout


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.