Back to work
Case Study · Backend Integration

Shopify & LEAT Integration

A custom Shopify backend integration for automated loyalty cashback processing — Shopify webhooks, vendor-based cashback rules, LEAT API integration, and multi-store functionality, built while preserving the existing ShipTurtle workflow.

  • Shopify API Integration
  • Shopify Webhooks
  • Python Backend
  • LEAT API
  • Custom Functionality
  • Multi-Store Integration
Role
Backend integration & API development
Stack
Python · Shopify API · Webhooks · LEAT API
Scope
Multi-store, ShipTurtle workflow intact
Shopify admin dashboard showing the online store themes page for the store running the integration
Shopify admin — the store the integration runs against.
01The brief

Loyalty cashback, handled automatically

Cashback needed to be worked out per vendor and posted to LEAT without anyone stepping in between, and the same setup had to serve more than one store.

The constraint that mattered most: the existing ShipTurtle workflow had to keep running exactly as it did. The integration was built to sit next to it rather than replace or re-route it.

02What I built

Five moving parts, one backend flow

  • Shopify webhooks

    Store events are captured through Shopify webhooks and handed to the backend for processing.

  • Vendor-based cashback rules

    Cashback is calculated with rules keyed to the vendor, so each vendor's policy is applied automatically.

  • LEAT API integration

    Computed cashback is passed to LEAT through its API inside the same processing flow.

  • Multi-store functionality

    The integration runs across multiple stores instead of being hard-wired to one.

  • ShipTurtle workflow preserved

    The existing ShipTurtle workflow keeps running as before — the integration sits alongside it.

03How it runs

From order to cashback, in one pass

  1. 01

    Order placed in Shopify

  2. 02

    Webhook delivered to the backend

  3. 03

    Vendor cashback rule applied

  4. 04

    Cashback sent to the LEAT API

ShipTurtle fulfilment stays on its existing path — the cashback flow reads from the same order events without changing how ShipTurtle works.

04Results

The numbers that matter

Placeholder figures — swap in your real numbers before publishing

[ ## ]%
Cashback processed automatically
[ ## ]
Stores connected
[ ## ] hrs
Manual work removed per week
[ ## ]
Orders processed per month

Need a similar Shopify integration?

Webhooks, third-party APIs, and multi-store setups that have to coexist with the tools you already run.