Developer docs

Getting started with the Dispense Flow developer platform

Dispense Flow developers

In short

Apply at app.dispenseflow.com/developers/signup and confirm your email. Once we approve the account, create a test store (a sandbox with sample products and customers), create an app with a webhook URL and the scopes it needs, install it on the test store to get an access token, send a sample event and call GET /v1/app-api/store with the token.

What can you build?

Apps and integrations that react to what happens in a store (orders, subscriptions, memberships, customers, visits) and read the store's data through a scoped API: ERP and accounting sync, shipping and fulfillment tools, CRM and marketing automation, reviews and loyalty, analytics.

Themes for the storefront's marketing pages, sold to telehealth brands through the theme marketplace. See Themes.

Both run on the platform's existing triggers: the same event catalog merchants already use for their own webhooks, delivered to your app for every store that installs it.

Step 1: apply for a developer account

Developer accounts are separate from merchant accounts. Apply at app.dispenseflow.com/developers/signup with your name, company, country and what you plan to build, and accept the Developer Terms. Confirm your email from the link we send.

A person reviews every application, usually within two business days. While you wait you can sign in and read these docs.

Step 2: create a test store

Under Test stores, create a store. It is a real store on the platform with sample products and customers, with three differences: it can never sell or take a real payment, it never reaches a provider or pharmacy, and it is never billed. You can have three.

Step 3: create an app

Under Apps, create an app: a name, a category, the scopes it needs, your webhook URL, the events it subscribes to and at least one OAuth redirect URL. You get a client ID, a client secret and a webhook signing secret. The secrets are shown once: put them in your server's secret manager.

An event needs the scope that covers it (orders events need read_orders, and so on). The form will not let you subscribe to an event your scopes do not cover. See Events for the full list.

Step 4: install on the test store and send an event

On the test store, pick your app and press Install. A draft app installs on your own test stores without review, and you get an access token straight away (on a real store the token comes from the OAuth flow).

Pick an event and press Send. Your webhook URL receives a signed POST with sample data and isTest: true. Verify the signature as shown in Webhooks.

Step 5: call the App API

With the token, read the store:

curl https://api.dispenseflow.com/v1/app-api/store \
  -H "Authorization: Bearer dfapp_..."

Step 6: submit for review

When it works, add a description, a support email and a privacy policy URL and submit the app. We review it, publish it to every store's Integrations page under Apps by developers, and you can start earning. See Policies and review.

Questions

Do I need a merchant account to build?

No. A developer account is its own account. Test stores give you a sandbox store to build against.

Is there a fee to join?

No. Applying, building, test stores and listing are free. We only take a share of paid sales, and none of your first USD 1M. See Revenue share.