Skip to content
Store integrationSingle-use codes

WooCommerce and Mailprompt

Mailprompt uses the WooCommerce REST API to read products, categories, customers and orders, registers the webhooks that keep them fresh, and can create a single-use coupon for an approved email.

What syncs

  • Products, including variations
    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. Open Settings → Store, choose WooCommerce and enter the store address (it must be served over HTTPS).
  2. Approve access in your store, or create a Read/Write REST API key under WooCommerce → Settings → Advanced → REST API and paste it instead.
  3. Mailprompt registers its order and customer webhooks and runs the first catalog 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 WooCommerce API can express. When a rule cannot be enforced in the store, the approval checklist explains it before anything sends.

Good to know

  • Abandoned-cart emails and signup forms need the Mailprompt WordPress plugin, which adds product-view and add-to-cart tracking, cart recovery links and a consent checkbox at checkout.
  • Each product variation is stored as its own catalog row; WooCommerce does not give the parent product an aggregate row.
  • WooCommerce categories have no modified date, so category changes are picked up on a full refresh rather than incrementally.
  • Coupons can require a minimum order subtotal, but a percentage coupon cannot be capped at a maximum amount through the API Mailprompt uses.