Store integrationSingle-use codes
PrestaShop and Mailprompt
Mailprompt reads PrestaShop products, categories, customers and orders through the webservice API and writes only the single-use discount codes you request.
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 PrestaShop admin, open Advanced Parameters → Web service, enable it and create a key for products, combinations, categories, customers, orders, carts, cart rules, shops and currencies.
- Open Settings → Store, choose PrestaShop and paste the store URL and webservice key, then test and connect.
- Add the storefront snippet in a small module on displayHeader or in the theme head; PrestaShop has no API for installing it.
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 PrestaShop API can express. When a rule cannot be enforced in the store, the approval checklist explains it before anything sends.
Good to know
- PrestaShop has no native webhooks, so Mailprompt polls for changes and finds abandoned carts from carts that never became an order. Real-time cart events need the storefront snippet.
- 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.