Create a custom earning rule in Okendo
In your Okendo admin, navigate to the Loyalty Program and create a new custom earning rule for purchases. Set the Action Type to Award a variable amount of points. Configure the Points Earned rate, for example1 point per 1 dollar. Subtotal sends value: the sum of price × quantity for your brand’s items in the purchase, without tax, shipping or fees. Okendo multiplies this value by your configured rate to determine points awarded.

Action ID — you’ll need it in the next step.
Okendo calculates points using the Points Earned rate configured on this rule. It applies that rate to the value of your brand’s items, without tax, shipping or fees.
Add the action in Subtotal
In the Subtotal Dashboard, navigate to your Okendo integration and clickAdd action.
Choose Purchase shared as the event, give the action a name, optionally restrict to specific retailers, paste the Okendo earning rule’s Action ID into the Okendo earning rule ID field, and set a Start date. Subtotal will only reward purchases made on or after the start date — this controls how much historical purchase data gets sent to Okendo when a customer first links their account.

Create. Subtotal triggers this earning rule for each qualifying purchase shared with your brand.
Wait for the purchase to complete
In the purchase action settings, turn on Wait for the purchase to complete, then save the action. Wait for the purchase to complete is off by default. It applies separately to each purchase event or earning action. The event's other conditions, such as retailers and purchase dates, also apply. With the option on:
If
status is null, purchases from Amazon, Walmart, and Target wait because these retailers report status. Purchases from every other retailer send at share time.
If a waiting purchase remains open or has no status, Subtotal sends it about 31 days after the purchase date. A purchase already past that deadline sends at share time.
A delivery after the wait counts once, the same as a normal Purchase shared delivery. Waiting does not create an extra billable event.
Simulated purchases from the Event Simulator always send at share time.
With the option on, the event sends each purchase at most once, even when the purchase is shared again after a reconnect.
With the option off, the event sends each qualifying purchase when it is shared.