Skip to content
Store integrationSingle-use codes

Lightspeed and Mailprompt

Mailprompt connects to Lightspeed eCom (C-Series) with the shop API key and secret, reads the catalog and order data, installs the ShopScript tracking snippet and creates single-use discount codes.

What syncs

  • Products and variants
    Synced
  • Categories
    Synced
  • Customers and marketing consent
    Synced
  • Orders and line items
    Synced

Mailprompt never edits your products, customers or orders. The only things it writes to the store are its own webhooks and tracking script where the platform allows it, and any single-use discount code an approved email asks for.

How to connect

  1. In Lightspeed, create the shop API key and secret.
  2. Open Settings → Store, choose Lightspeed and paste the key, secret, cluster and shop language.
  3. Mailprompt registers its webhooks, installs the ShopScript snippet and runs the first sync.

The connection lives in Settings → Store. Only an owner or admin can connect or disconnect a store, and the credentials are encrypted before they are stored.

Discount codes

  • Creates a unique, single-use code in the store for an approved email.
  • A code can require a minimum order subtotal.
  • A percentage code cannot be capped at a maximum amount.

These limits come from what the Lightspeed API can express. When a rule cannot be enforced in the store, the approval checklist explains it before anything sends.

Good to know

  • Lightspeed cannot enforce a once-per-customer rule on top of a discount code; single-use codes are still created as single-use.
  • The tracking script is installed through the ShopScript API rather than a pasted theme snippet.
  • The consent signal comes from the shop’s subscription.isConfirmed field.
  • Coupons can require a minimum order subtotal, but a percentage coupon cannot be capped at a maximum amount through the API Mailprompt uses.