Store webhook
One endpoint for WooCommerce, Shopify or a custom cart.
Point your store at one URL and every order keeps the audience current.
POST https://marketmind.skotechlabs.com/api/integrations/store/{workspace-uuid}
X-MarketMind-Secret: <inbound secret>
Find the workspace uuid and inbound secret under Channels, API keys.
The payload is read loosely, so most cart formats work without a mapper. It looks for the first of each:
| What | Keys it checks |
|---|---|
email, billing.email, customer.email |
|
| Phone | phone, billing.phone, customer.phone |
| Name | name, customer.name, billing.first_name |
| Total | total, amount, order.total |
| Product | product, line_items.0.name, items.0.name |
{ "data": { "customer_id": 412, "recorded": true } }
An email or a phone is required. Anything else missing is simply not recorded.