Overview
Our integration with Okendo makes it easy to reward customers for linking accounts and making retail purchases. We’ll show you how to set up your program with Okendo and make the most out of this integration.Get your Okendo credentials
Sign in to your Okendo admin and navigate to Settings -> Integrations -> Credentials. You’ll need two values:- User ID — the unique user ID for your store
- Merchant REST API Key — click
Generateto create one

Connect your Okendo account
Sign in to the Subtotal Dashboard and connect your Okendo account to enable the integration. Navigate to Integrations -> Okendo -> Connect. Click theConnect Okendo button.

Save Integration.

Active status on the Okendo integration page.

Configure actions
After connecting, configure the actions Subtotal should send to Okendo. Each action maps a Subtotal event (e.g. an account being linked, a purchase being made) to a custom earning rule you’ve set up in Okendo.
| Setting | Description |
|---|---|
| Customer identifier | The field on the connection used to identify the customer in Okendo. The Subtotal Okendo integration currently only supports identifying customers by Email. |
| Actions | One or more event-to-earning-rule mappings. Each action specifies the event type, retailers it applies to, and the Okendo earning rule ID. |
Add action and choose an event:

| Field | Description |
|---|---|
| Event | account.linked (fired when a customer links a retailer account) or purchase.created (fired for each purchase Subtotal collects). |
| Action name | A human-readable label for this action. |
| Retailers | Restrict the action to specific retailers, or apply it to all. |
| Okendo earning rule ID | The Action ID of the custom earning rule you configured in Okendo. |
Customer identification
The Okendo integration identifies customers by their email address. How the email is captured depends on your setup:- Shopify app — the customer’s email is captured automatically from their Shopify profile. No additional parameters needed.
- API integration — include the
emailfield when creating a connection viaPOST /connections. Without it, Subtotal won’t be able to identify the customer in Okendo.