Store integrationSingle-use codes
Magento and Mailprompt
Mailprompt connects to Magento 2 or Adobe Commerce with a REST integration, reads the catalog and order data, and writes only the single-use discount codes you ask for.
What syncs
- Products and variantsSynced
- CategoriesSynced
- CustomersSynced
- 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 Magento admin, open System → Extensions → Integrations and create an integration with access to products, categories, customers, orders, carts and sales rules.
- Open Settings → Store, choose Magento and paste the store URL and the integration’s four values, then test and connect.
- Copy the storefront snippet into a child-theme layout or a small module so it renders on every page.
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 Magento API can express. When a rule cannot be enforced in the store, the approval checklist explains it before anything sends.
Good to know
- Magento Open Source has no general webhooks, so Mailprompt polls for changed products, customers, orders and carts instead of receiving them in real time.
- The storefront snippet tracks page views and add-to-cart; real-time abandoned-cart and checkout events need a server-side module.
- The connection is read-only except for the single-use discount codes you ask Mailprompt to create.
- Coupons can require a minimum order subtotal, but a percentage coupon cannot be capped at a maximum amount through the API Mailprompt uses.