# Subtotal Docs - [Welcome to the Docs](https://docs.subtotal.com/docs/introduction.md): Learn how to make the most out of the Subtotal platform. - [Core Concepts](https://docs.subtotal.com/docs/concepts.md): Learn the core concepts behind how Subtotal works. - [Subtotal App](https://docs.subtotal.com/docs/app/introduction.md): Where consumers manage their linked retail accounts, the brands they share with, and their personal purchase data. - [Subtotal: For Business](https://docs.subtotal.com/docs/connector/introduction.md): Connect AI assistants like Claude, Grok, and Muse to your Subtotal purchase data and retailer settings. - [Add Subtotal: For Business to Claude](https://docs.subtotal.com/docs/connector/claude.md): Connect Subtotal: For Business as a Claude connector so you can query your purchase data directly in conversations. - [Tools](https://docs.subtotal.com/docs/connector/tools.md): Reference for all tools available in Subtotal: For Business. - [Example Questions](https://docs.subtotal.com/docs/connector/example-queries.md): Try common questions with Subtotal: For Business. - [Subtotal Dashboard](https://docs.subtotal.com/docs/subtotal-dashboard/introduction.md): Manage your Subtotal account, API keys, Link experience, webhooks, and integrations in one place. - [Getting Access](https://docs.subtotal.com/docs/subtotal-dashboard/getting-access.md): Create your Subtotal account, request access, and start your subscription. - [Team & Roles](https://docs.subtotal.com/docs/subtotal-dashboard/team-and-roles.md): Invite your teammates, choose their roles, and see who can sign for your brand. - [Billing & Plans](https://docs.subtotal.com/docs/subtotal-dashboard/billing.md): Choose a plan, see how billing works, and manage your payment method. - [Getting started with Subtotal Link](https://docs.subtotal.com/docs/subtotal-link/introduction.md): Customers use Subtotal Link to connect their accounts. - [Customer Link tokens](https://docs.subtotal.com/docs/subtotal-link/link-tokens.md): Create, reuse, and manage a consumer’s Subtotal Link URL. - [Link URLs](https://docs.subtotal.com/docs/subtotal-link/link-urls.md): Launch Subtotal Link for one retailer, or reconnect an existing connection. - [Subtotal Signal](https://docs.subtotal.com/docs/subtotal-signal/introduction.md): Send purchases from retailers and marketplaces to digital advertising platforms as conversion events. - [How Signal works](https://docs.subtotal.com/docs/subtotal-signal/how-it-works.md): Follow the flow from linked accounts to conversion events, attribution, and audience building. - [Consumer choices and opt-outs](https://docs.subtotal.com/docs/subtotal-signal/opt-outs.md): Before using Signal, connect your consumer opt-out process to Subtotal so advertising-platform sharing respects those choices. - [Subtotal Widgets](https://docs.subtotal.com/docs/widgets/introduction.md): Pre-built UI components that make it easy to add Subtotal to your website or application. - [Shopify](https://docs.subtotal.com/docs/widgets/shopify.md) - [Shopify Storefront API](https://docs.subtotal.com/docs/widgets/shopify-storefront-api.md): App-proxy endpoints for building custom Subtotal Link entrypoints from a Shopify storefront. - [Subtotal API](https://docs.subtotal.com/docs/subtotal-api.md): Make HTTP requests in your preferred programming language. - [Subtotal CLI](https://docs.subtotal.com/docs/cli.md): Call the Subtotal API from your terminal. - [Event types](https://docs.subtotal.com/docs/webhooks/events.md): Subscribe to system events to receive real-time notifications. - [Configuring webhook destinations](https://docs.subtotal.com/docs/webhooks/configuration.md): Set up webhook destinations in the Subtotal Dashboard, with the API, or through Subtotal: For Business. - [Delivery and retries](https://docs.subtotal.com/docs/webhooks/delivery-and-retries.md): How Subtotal delivers webhook events, when it retries, when it stops, and how to handle redelivered events. - [Verifying signatures](https://docs.subtotal.com/docs/webhooks/verifying-signatures.md): Verify that webhook requests are from Subtotal and have not been tampered with. - [Partner apps](https://docs.subtotal.com/docs/partner-apps/introduction.md): Create an app that brands can install to connect with your platform. - [Create and submit an app](https://docs.subtotal.com/docs/partner-apps/create-and-review.md): Configure your listing, credentials, OAuth URLs, and review submission. - [OAuth authorization](https://docs.subtotal.com/docs/partner-apps/oauth.md): Implement the authorization-code flow with PKCE for a partner app. - [Partner webhooks](https://docs.subtotal.com/docs/partner-apps/webhooks.md): Configure app events and verify signed webhook deliveries. - [Event Simulator](https://docs.subtotal.com/docs/event-simulator.md): Simulate real-world events such as users linking accounts and making retail purchases. - [Attentive](https://docs.subtotal.com/docs/integrations/attentive.md): Send events to Attentive when a purchase is shared with your brand. - [Introduction](https://docs.subtotal.com/docs/integrations/braze/introduction.md): Connect Braze and configure how customers are identified. - [Event types](https://docs.subtotal.com/docs/integrations/braze/event-types.md): Subtotal custom events and payloads delivered to Braze. - [Introduction](https://docs.subtotal.com/docs/integrations/klaviyo/introduction.md): Connect Klaviyo and understand how customers are identified. - [Events](https://docs.subtotal.com/docs/integrations/klaviyo/event-types.md): Configure Subtotal events and use their Klaviyo payloads. - [Customer segments](https://docs.subtotal.com/docs/integrations/klaviyo/segments.md): Create Klaviyo segments from Subtotal events. - [Flows](https://docs.subtotal.com/docs/integrations/klaviyo/flows.md): Trigger Klaviyo flows from Subtotal events. - [LoyaltyLion](https://docs.subtotal.com/docs/integrations/loyaltylion.md): Reward LoyaltyLion members for linking retailer accounts and buying your products at other retailers. - [Connect Meta to Subtotal](https://docs.subtotal.com/docs/integrations/meta/introduction.md): Send purchases from retailers and marketplaces, along with account-linking events, to your Meta dataset. - [Events and data sent to Meta](https://docs.subtotal.com/docs/integrations/meta/events.md): Understand event names, retailer conditions, purchase value, matching fields, and Account connected events. - [Meta Audiences](https://docs.subtotal.com/docs/integrations/meta/audiences.md): Keep Custom Audiences of your Subtotal shoppers in your Meta ad accounts, refreshed nightly. - [Introduction](https://docs.subtotal.com/docs/integrations/okendo/introduction.md): Connect Okendo and configure how customers are rewarded. - [Rewarding purchases](https://docs.subtotal.com/docs/integrations/okendo/purchases.md): Set up Okendo to reward points when customers make retail purchases. - [Rewarding linked accounts](https://docs.subtotal.com/docs/integrations/okendo/linked-account.md): Set up Okendo to reward points when customers link a retailer account. - [Introduction](https://docs.subtotal.com/docs/integrations/rivo/introduction.md): Connect Rivo and configure how customers are rewarded. - [Rewarding purchases](https://docs.subtotal.com/docs/integrations/rivo/purchases.md): Set up Rivo to reward points when customers make retail purchases. - [Rewarding linked accounts](https://docs.subtotal.com/docs/integrations/rivo/linked-account.md): Set up Rivo to reward points when customers link a retailer account. - [Account widget](https://docs.subtotal.com/docs/integrations/rivo/account-widget.md): Let customers link retailer accounts from the Rivo account widget. - [Shopify](https://docs.subtotal.com/docs/integrations/shopify.md): Let shoppers link their retailer accounts from your Shopify store. - [Introduction](https://docs.subtotal.com/docs/integrations/smile/introduction.md): Connect Smile and configure how customers are rewarded. - [Rewarding purchases](https://docs.subtotal.com/docs/integrations/smile/purchases.md): Award Smile points for qualifying purchases shared with your brand. - [Rewarding linked accounts](https://docs.subtotal.com/docs/integrations/smile/linked-account.md): Award Smile points when a customer links a retailer account. - [Introduction](https://docs.subtotal.com/docs/integrations/yotpo/introduction.md): Connect Yotpo and configure how customers are rewarded. - [Rewarding purchases](https://docs.subtotal.com/docs/integrations/yotpo/purchases.md): Set up Yotpo to reward points when customers make retail purchases. - [Rewarding linked accounts](https://docs.subtotal.com/docs/integrations/yotpo/linked-account.md): Set up Yotpo to reward points when customers link a retailer account. - [Getting Started with Subtotal](https://docs.subtotal.com/docs/guides/getting-started.md): Set up your account and see your first purchase data. - [Link accounts in your iOS App](https://docs.subtotal.com/docs/guides/ios-subtotal-link.md): Learn how to launch Subtotal Link in your iOS application - [Subtotal API](https://docs.subtotal.com/docs/api-reference/introduction.md): Build applications that integrate with Subtotal - [Get Account](https://docs.subtotal.com/docs/api-reference/account/get-account.md): Your own account: your team, the brands you subscribe to, your plan and what it includes, and the OAuth scopes your token was granted. Any valid credential can read it; no scope is required. - [Get Usage](https://docs.subtotal.com/docs/api-reference/account/get-usage.md): Your plan usage for one window, as Settings · Usage in the dashboard shows it: each metric's count against its included quota and overage fee: active connections (`active_connections`), connections, shared purchases (`purchases`), actions (`events`), MCP requests (`mcp_queries`) and API requests. De… - [Create Connection](https://docs.subtotal.com/docs/api-reference/connections/create-connection.md): Create a new connection - [Get Connection](https://docs.subtotal.com/docs/api-reference/connections/get-connection.md): Get a connection - [Get Connections](https://docs.subtotal.com/docs/api-reference/connections/get-connections.md): List connections, newest first. Every filter is optional; page with `limit` and `starting_after`. - [Get Connection Activity Log](https://docs.subtotal.com/docs/api-reference/connections/get-connection-activity.md): Get a connection's activity log, newest first - [Get Connection Purchases](https://docs.subtotal.com/docs/api-reference/connections/get-connection-purchases.md): Get purchases for a connection using partner OAuth Bearer authentication, or legacy X-API-Key plus a connection access token - [Update Connection](https://docs.subtotal.com/docs/api-reference/connections/update-connection.md): Update a connection - [Delete Connection](https://docs.subtotal.com/docs/api-reference/connections/delete-connection.md): Delete a connection - [Create Link Token](https://docs.subtotal.com/docs/api-reference/link-tokens/create-link-token.md): Create a durable customer-scoped Subtotal Link token - [List Link Tokens](https://docs.subtotal.com/docs/api-reference/link-tokens/get-link-tokens.md): List link-token metadata without returning bearer secrets or consumer contact fields - [Revoke Link Token](https://docs.subtotal.com/docs/api-reference/link-tokens/revoke-link-token.md): Permanently revoke a link token - [Create Connection Token](https://docs.subtotal.com/docs/api-reference/connections/create-connection-token.md): Request a new connection token - [Get Purchases](https://docs.subtotal.com/docs/api-reference/purchases/get-purchases.md): Get a list of purchases from a connected account - [Get Purchase](https://docs.subtotal.com/docs/api-reference/purchases/get-purchase.md): Get purchase details using partner OAuth Bearer authentication, or legacy X-API-Key plus a connection access token - [Get Products](https://docs.subtotal.com/docs/api-reference/products/get-products.md): List your brand catalog: every active product of the brands you subscribe to, whether or not it has been purchased, ordered by product id. Page with `limit` and `starting_after`. Pass `group_id` for the products in one of your product groups. - [Get Product](https://docs.subtotal.com/docs/api-reference/products/get-product.md): Get one product from your brand catalog - [List Product Groups](https://docs.subtotal.com/docs/api-reference/product-groups/list-product-groups.md): List your product groups, ordered by name, each with how many products it holds. - [Create Product Group](https://docs.subtotal.com/docs/api-reference/product-groups/create-product-group.md): Create an empty product group. Names are unique per account, ignoring case. - [Rename Product Group](https://docs.subtotal.com/docs/api-reference/product-groups/rename-product-group.md): Rename a product group. Its products stay in it. - [Delete Product Group](https://docs.subtotal.com/docs/api-reference/product-groups/delete-product-group.md): Delete a product group. Its products stay in your catalog and in any other groups. - [Update Product Group Products](https://docs.subtotal.com/docs/api-reference/product-groups/update-product-group-products.md): Add and/or remove products in one call, up to 500 ids each. Adding a product already in the group and removing one that isn't are no-ops. Only products in your catalog can be added: if any isn't, nothing changes and the call 404s without naming it. - [Get Retailers](https://docs.subtotal.com/docs/api-reference/retailers/get-retailers.md): Get configured retailers - [Update Retailer](https://docs.subtotal.com/docs/api-reference/retailers/update-retailer.md): Update a retailer for the client. Every field is optional and omitted fields are unchanged: `enabled` turns the retailer on or off; `link_visibility` and `link_audience` set who sees it on the Subtotal Link selection page (`link_audience` replaces the stored allow-lists). Link settings need the reta… - [Simulate Connection](https://docs.subtotal.com/docs/api-reference/simulated-connections/simulate-connection.md): Create an active simulated test connection, as the dashboard's event simulator does, to test your webhook or integration. Emits `connection.activated` to your webhooks, marked `is_simulated`; starter purchases are backdated history and emit nothing (simulate a purchase to send `purchase.created`). S… - [Simulate Purchase](https://docs.subtotal.com/docs/api-reference/simulated-connections/simulate-purchase.md): Create a simulated purchase of random retailer products on one of your simulated connections, dated now. Emits `purchase.created` to your webhooks, marked `is_simulated`. - [Set Simulated Status](https://docs.subtotal.com/docs/api-reference/simulated-connections/set-simulated-status.md): Set one of your simulated connections to `active` or `unauthenticated` and emit the matching connection event to your webhooks, marked `is_simulated`. Setting the status it already has emits the event again. - [Delete Simulated Connection](https://docs.subtotal.com/docs/api-reference/simulated-connections/delete-simulated-connection.md): Delete one of your simulated connections with its simulated purchases. This can't be undone and emits no event. Real connections can't be deleted here. - [List Webhooks](https://docs.subtotal.com/docs/api-reference/webhooks/get-webhooks.md): List the client's webhooks with their subscribed events. The signing secret is never returned. - [Create Webhook](https://docs.subtotal.com/docs/api-reference/webhooks/create-webhook.md): Create a webhook subscribed to the given event names. It starts paused unless `is_active` is true. The response carries the signing secret, which is shown only once; if it is lost, delete the webhook and create a new one. - [Update Webhook](https://docs.subtotal.com/docs/api-reference/webhooks/update-webhook.md): Update a webhook. Omitted fields are unchanged; `event_types` replaces the subscribed events; explicit null clears a purchase date bound. The signing secret is unchanged. - [Delete Webhook](https://docs.subtotal.com/docs/api-reference/webhooks/delete-webhook.md): Delete a webhook and its subscriptions; it stops receiving events. Past delivery records are kept. ## OpenAPI Specs - [openapi](/docs/openapi.json) ## Optional - [Create an API key](https://dashboard.subtotal.com/api-keys) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.