What each tracking route does and where it fits in the product.
Every tracking event ShopMy receives is stamped with the route it arrived through — the same route names shown on your Tracking Health page. This page defines what each route does and where it fits in the product.
How events flow
A shopper clicks a creator's link (Click Redirect), lands on your site where the ShopMy pixel confirms the visit (Click Confirmation), and completes an order that your integration reports (Order Confirmation for direct API setups, the Shopify webhooks for Shopify stores). Later changes flow the same way: amount updates and cancellations through the update and cancel routes, with ShopMy's nightly sync re-checking recent Shopify orders as a backstop.
Route definitions
| Route | Sent by | What it does |
|---|---|---|
Click Redirect — /api/redirect_click | Shoppers via creator links | Creator link clicks passing through ShopMy on the way to your site — where a click is recorded and attribution begins. |
Click Confirmation — /api/confirm_click | The ShopMy pixel on your site | Confirms a click actually landed on your storefront. Baked into the pixel — you never call this yourself. |
Order Confirmation — /api/order_confirmation | Your site | Reports a completed order for commission attribution — the core of a direct API integration. |
Shopify Order Created — /api/Shopify/order_created/:Brand_id | Your Shopify app | Reports a new order the moment it is placed. |
Order Update — /api/Affiliates/update | Your server | Updates a tracked order's amount after returns or edits, so commissions stay accurate. |
Shopify Order Updated — /api/Shopify/order_updated/:Brand_id | Your Shopify app | Syncs order edits and returns onto tracked commissions. |
Shopify Order Fulfilled — /api/Shopify/order_fulfilled/:Brand_id | Your Shopify app | Reports fulfillment updates to tracked orders. |
| Shopify Nightly Sync | ShopMy (scheduled) | Nightly reconciliation re-reading recent Shopify orders to catch anything a webhook missed. |
Order Cancellation — /api/Affiliates/cancel | Your server | Cancels the commission on a cancelled or refunded order. |
Shopify Order Cancelled — /api/Shopify/order_cancelled/:Brand_id | Your Shopify app | Voids the commission when an order is cancelled. |
Partner Cancellation — /v1/Partners/Commissions/cancel | Partner platforms | Order cancellations arriving through the ShopMy Partners API. |
Zenoti / Miva / BigCommerce Webhooks — /api/AffiliateWebhooks/... | Those platforms | Order status updates for stores on those platforms. |
For the Shopify app itself — what it does and what installing or removing it implies — see Create ShopMy's Shopify App.
