sync discounts between stores and automate sending

Topic summary

A merchant wants to automatically send discount codes between two separate Shopify stores based on order frequency: every 3 orders on the main store triggers a discount for the secondary store, and vice versa.

Proposed Solutions:

  • Manual approach: Pre-create discount codes on the second store and conditionally display them in notification templates after X orders. This method is fragile and vulnerable to abuse without proper planning or unique code generation per customer.

  • Store sync apps: Use existing Shopify apps that sync stores and automate discount generation across both stores, or sync orders to trigger automations on the secondary store.

  • Shopify Flow + API: Leverage Shopify Flow’s HTTP request action with the second store’s API (using basic HTTP auth) to programmatically create discounts.

  • Advanced custom solutions: Build a custom app, use automation platforms like Mechanic, or employ external services (Make.com, Zapier) to handle the cross-store discount workflow.

Status: The discussion remains open with no single solution implemented; the merchant must choose between manual workarounds or technical integrations based on their capabilities.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Hoping the community can help me out here.

Objective:

For every 3 orders on “main shopify store” I want to send a discount code redeemable on “2nd store”

the stores are under separate accounts (ie every 3 orders on Tesla store, get a discount code redeemable on Lego store.

@tinman76 without a unicorn app you have to choose your parts to build this:

  1. premake a manual discount code on the 2nd store that’s conditionally shown in the notification templates for every X orders. fragile & abusable without good planning and or using something to bulk import/export discount codes to be unique per customer/usage.
  2. shortlist any of the numerous store sync apps on the app store and automate generating the discount on one store that’s sync’d to the second store, or sync orders as the basis for automations on the second store.
  3. advanced - use shopify-flow with the second stores api( assumes basic http auth) to create a discount using shopify flows send-http-request action.
  4. advanced - a discount app that has an api( using basic http auth) using shopify flows send-http-request action.
  5. advanced - external services like make.com or zapier etc as feasible.
  6. advanced - use an automation app like usemechanic to build store to store scenarios https://learn.mechanic.dev/platform/webhooks
  7. advanced - build a custom app

If you need automations like this explored, and created or custom app development then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

2 Likes