Store integrationSingle-use codes
Shift4Shop and Mailprompt
Mailprompt connects with the store’s Secure URL and REST API token, reads the catalog and order data, and creates single-use promotion codes. Webhooks use the per-store token rather than a signature.
What syncs
- Products and variantsSynced
- CategoriesSynced
- Customers and marketing consentSynced
- Orders and line itemsSynced
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
- In Shift4Shop, subscribe the app under Modules → REST API and copy the Secure URL and Token.
- Open Settings → Store, choose Shift4Shop and paste both values.
- Point the store’s webhooks at the address shown after connecting, and paste the tracking snippet into a Frontend Script.
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 cannot require a minimum order subtotal.
- A percentage code cannot be capped at a maximum amount.
These limits come from what the Shift4Shop API can express. When a rule cannot be enforced in the store, the approval checklist explains it before anything sends.
Good to know
- The install is a merchant key flow: there is no OAuth install, so the Secure URL and token are pasted in Settings → Store.
- Webhook payloads are not signed; Mailprompt re-fetches the record and trusts the per-store token in the URL.
- Shift4Shop does not emit a customer-updated event, so customer changes are picked up by the next sync.
- Abandoned-cart emails are not available for Shift4Shop.
- A percentage coupon cannot be capped at a maximum amount, and the Shift4Shop promotion API Mailprompt uses cannot require a minimum order subtotal.