{"id":850,"date":"2026-10-29T13:38:04","date_gmt":"2026-10-29T13:38:04","guid":{"rendered":"https:\/\/vectalk.com.br\/blog\/shopify-whatsapp-api\/"},"modified":"2026-10-29T13:38:09","modified_gmt":"2026-10-29T13:38:09","slug":"shopify-whatsapp-api","status":"publish","type":"post","link":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/","title":{"rendered":"Shopify + the official WhatsApp API: order confirmation, tracking and abandoned cart"},"content":{"rendered":"\n<p><em>Updated on October 29, 2026<\/em><\/p>\n\n\n\n<p>To connect Shopify to the official WhatsApp Business API, you subscribe to store webhooks (<code>orders\/create<\/code>, <code>orders\/paid<\/code>, <code>fulfillments\/create<\/code>, <code>fulfillment_events\/create<\/code> and <code>checkouts\/update<\/code>), receive those events in your own backend, and send a Meta-approved template for each one. Order confirmation, payment and tracking messages are utility templates; the abandoned cart reminder is marketing and needs its own opt-in. No plugin that automates WhatsApp Web is involved: it is two official APIs talking to each other.<\/p>\n\n\n\n<p>The big picture for online stores (message map, cost per order) is in our guide to the <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-api-for-ecommerce\/\">WhatsApp API for ecommerce<\/a>. This article focuses on Shopify: topics, scopes, signature checks, code and opt-in. The WhatsApp side is the same Cloud API covered in the <a href=\"https:\/\/vectalk.com.br\/blog\/en\/official-whatsapp-api\/\">official WhatsApp API guide<\/a>, and the Shopify side can be a custom app for a single store or a public app if you sell the integration to merchants.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which Shopify webhooks to use<\/h2>\n\n\n\n<p>Shopify&#8217;s <a href=\"https:\/\/shopify.dev\/docs\/api\/webhooks\" target=\"_blank\" rel=\"noreferrer noopener\">webhook reference<\/a> lists dozens of topics. For order notifications, these are enough:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Topic<\/th><th>When it fires (Shopify docs)<\/th><th>WhatsApp message<\/th><th>Category<\/th><\/tr><\/thead><tbody><tr><td><code>orders\/create<\/code><\/td><td>Whenever an order is created<\/td><td>Order received (or awaiting payment, for delayed payment methods)<\/td><td>Utility<\/td><\/tr><tr><td><code>orders\/paid<\/code><\/td><td>Whenever an order is paid<\/td><td>Payment confirmed<\/td><td>Utility<\/td><\/tr><tr><td><code>fulfillments\/create<\/code><\/td><td>Whenever a fulfillment is created<\/td><td>Order shipped, with carrier and tracking number<\/td><td>Utility<\/td><\/tr><tr><td><code>fulfillment_events\/create<\/code><\/td><td>Whenever a fulfillment event is created<\/td><td>Out for delivery, delivered, delayed or failed<\/td><td>Utility<\/td><\/tr><tr><td><code>checkouts\/create<\/code> and <code>checkouts\/update<\/code><\/td><td>Whenever a checkout is created or updated<\/td><td>Input for the abandoned cart reminder<\/td><td>Marketing<\/td><\/tr><tr><td><code>customers_whats_app_marketing_consent\/update<\/code><\/td><td>Whenever a customer&#8217;s WhatsApp marketing consent is updated<\/td><td>None: it updates your opt-in records<\/td><td>\u2014<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Payload details that matter in code:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>fulfillments\/create<\/code> includes <code>order_id<\/code>, <code>tracking_company<\/code>, <code>tracking_number<\/code> and <code>tracking_url<\/code>. Look up the phone number in the order you stored on <code>orders\/create<\/code>.<\/li>\n\n\n<li><code>fulfillment_events\/create<\/code> includes <code>status<\/code>, with values from the <a href=\"https:\/\/shopify.dev\/docs\/api\/admin-graphql\/latest\/enums\/FulfillmentEventStatus\" target=\"_blank\" rel=\"noreferrer noopener\">FulfillmentEventStatus<\/a> enum such as <code>in_transit<\/code>, <code>out_for_delivery<\/code>, <code>delivered<\/code>, <code>delayed<\/code> and <code>failure<\/code>. Only notify the milestones customers care about.<\/li>\n\n\n<li>The checkout includes <code>abandoned_checkout_url<\/code>, <code>phone<\/code> and <code>completed_at<\/code>, and <code>completed_at<\/code> is filled in once the purchase is completed.<\/li>\n\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Scopes and protected customer data<\/h3>\n\n\n\n<p>According to Shopify&#8217;s <a href=\"https:\/\/shopify.dev\/docs\/api\/usage\/access-scopes\" target=\"_blank\" rel=\"noreferrer noopener\">access scopes<\/a>, <code>read_orders<\/code> covers <code>Order<\/code>, <code>Fulfillment<\/code> and <code>AbandonedCheckout<\/code>, so it handles every topic in the table. By default it only reaches orders from the last 60 days; for older orders, also declare <code>read_all_orders<\/code>.<\/p>\n\n\n\n<p>Phone, name, email and address are <a href=\"https:\/\/shopify.dev\/docs\/apps\/launch\/protected-customer-data\" target=\"_blank\" rel=\"noreferrer noopener\">protected customer data<\/a>: your app requests each field, and fields that are not approved come back redacted. Public apps go through Shopify review. Without the phone field, you get the order but have no one to message.<\/p>\n\n\n\n<p>The number may live in <code>phone<\/code>, <code>shipping_address.phone<\/code>, <code>billing_address.phone<\/code> or <code>customer.phone<\/code>. Pick an order of preference and normalize it to the format the WhatsApp API expects: digits only, with the country code and no <code>+<\/code> (for example, <code>15551234567<\/code> for a US number).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Signature, timeouts and duplicates<\/h2>\n\n\n\n<p>Shopify&#8217;s page on <a href=\"https:\/\/shopify.dev\/docs\/apps\/build\/webhooks\/subscribe\/https\" target=\"_blank\" rel=\"noreferrer noopener\">delivering webhooks through HTTPS<\/a> sets the rules your endpoint must follow:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Signature.<\/strong> The <code>X-Shopify-Hmac-SHA256<\/code> header carries a Base64 HMAC-SHA256 of the raw body, keyed with your app&#8217;s client secret. Compute it before any JSON parser touches the body.<\/li>\n\n\n<li><strong>Response time.<\/strong> One-second connection timeout and five seconds for the whole request. Anything other than a 200 counts as a failure.<\/li>\n\n\n<li><strong>Retries.<\/strong> Shopify retries 8 times over the next 4 hours. Subscriptions created through the Admin API are deleted after 8 consecutive failures.<\/li>\n\n\n<li><strong>Duplicates.<\/strong> <code>X-Shopify-Webhook-Id<\/code> is unique per delivery; <code>X-Shopify-Event-Id<\/code> is shared by all deliveries triggered by the same merchant action.<\/li>\n\n<\/ul>\n\n\n\n<p>In practice: return 200 right away and send the WhatsApp message afterwards, from a queue. A slow API call inside the handler makes Shopify redeliver the event, and the customer gets the confirmation twice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Node.js example<\/h2>\n\n\n\n<p>The example verifies the HMAC, drops duplicates and sends templates through Vectalk, which accepts the same payload as Meta&#8217;s Cloud API. The in-memory structures are for demonstration only; in production, use a database with a unique key and a queue with retries.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-js\">import crypto from 'node:crypto';\nimport express from 'express';\n\nconst SHOPIFY_SECRET = process.env.SHOPIFY_CLIENT_SECRET;\nconst VECTALK_URL = 'https:\/\/apis.vectalk.com.br\/api\/messages';\nconst VECTALK_TOKEN = process.env.VECTALK_TOKEN; \/\/ instance token\n\nconst seen = new Set();    \/\/ processed X-Shopify-Webhook-Id values\nconst orders = new Map();  \/\/ order_id -&gt; { phone, name, number, optin }\n\nfunction validHmac(raw, header) {\n  const computed = crypto.createHmac('sha256', SHOPIFY_SECRET).update(raw).digest();\n  const received = Buffer.from(header || '', 'base64');\n  return received.length === computed.length &amp;&amp; crypto.timingSafeEqual(computed, received);\n}\n\nfunction phoneOf(o) {\n  const raw = o.phone || o.shipping_address?.phone || o.billing_address?.phone || o.customer?.phone;\n  return raw ? raw.replace(\/\\D\/g, '') : null; \/\/ assumes the country code is present\n}\n\nfunction orderOptin(o) {\n  return (o.note_attributes || []).some((a) =&gt; a.name === 'whatsapp_orders' &amp;&amp; a.value === 'yes');\n}\n\nasync function sendTemplate(to, name, body, buttonSuffix) {\n  const components = [{ type: 'body', parameters: body.map((text) =&gt; ({ type: 'text', text })) }];\n  if (buttonSuffix) {\n    components.push({ type: 'button', sub_type: 'url', index: '0', parameters: [{ type: 'text', text: buttonSuffix }] });\n  }\n  const r = await fetch(VECTALK_URL, {\n    method: 'POST',\n    headers: { Authorization: `Bearer ${VECTALK_TOKEN}`, 'Content-Type': 'application\/json' },\n    body: JSON.stringify({\n      messaging_product: 'whatsapp',\n      to,\n      type: 'template',\n      template: { name, language: { code: 'en_US' }, components },\n    }),\n  });\n  if (!r.ok) throw new Error(`${name}: ${r.status} ${await r.text()}`);\n  return (await r.json()).messages[0].id; \/\/ wamid: store it with the order\n}\n\nconst handlers = {\n  'orders\/create': async (o) =&gt; {\n    const p = { phone: phoneOf(o), name: o.customer?.first_name || '', number: o.name, optin: orderOptin(o) };\n    orders.set(o.id, p);\n    if (!p.phone || !p.optin) return;\n    const template = o.financial_status === 'pending' ? 'order_awaiting_payment' : 'order_received';\n    await sendTemplate(p.phone, template, [p.name, p.number, o.total_price]);\n  },\n  'orders\/paid': async (o) =&gt; {\n    const p = orders.get(o.id);\n    if (p?.phone &amp;&amp; p.optin) await sendTemplate(p.phone, 'payment_confirmed', [p.name, p.number]);\n  },\n  'fulfillments\/create': async (f) =&gt; {\n    const p = orders.get(f.order_id);\n    if (!p?.phone || !p.optin || !f.tracking_number) return;\n    await sendTemplate(p.phone, 'order_shipped',\n      [p.name, p.number, f.tracking_company || 'the carrier', f.tracking_number],\n      String(f.order_id)); \/\/ button: https:\/\/yourstore.com\/track\/{{1}}\n  },\n  'fulfillment_events\/create': async (e) =&gt; {\n    const p = orders.get(e.order_id);\n    if (p?.phone &amp;&amp; p.optin &amp;&amp; e.status === 'delivered') {\n      await sendTemplate(p.phone, 'order_delivered', [p.name, p.number]);\n    }\n  },\n};\n\nconst app = express();\n\napp.post('\/webhooks\/shopify', express.raw({ type: 'application\/json' }), (req, res) =&gt; {\n  if (!validHmac(req.body, req.get('X-Shopify-Hmac-SHA256'))) return res.sendStatus(401);\n  const id = req.get('X-Shopify-Webhook-Id');\n  res.sendStatus(200); \/\/ acknowledge before calling the WhatsApp API\n  if (seen.has(id)) return;\n  seen.add(id);\n  const handler = handlers[req.get('X-Shopify-Topic')];\n  if (handler) handler(JSON.parse(req.body)).catch((err) =&gt; console.error(err));\n});\n\napp.listen(3000);<\/code><\/pre>\n\n\n\n<p>The tracking button uses a dynamic URL (fixed base plus a suffix), so the store&#8217;s <code>\/track\/{id}<\/code> route redirects to the carrier&#8217;s <code>tracking_url<\/code>. Keep the returned <code>wamid<\/code> so you can match it with the delivery statuses from the WhatsApp webhook.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Templates: utility on one side, marketing on the other<\/h2>\n\n\n\n<p>Meta&#8217;s <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/templates\/template-categorization\" target=\"_blank\" rel=\"noreferrer noopener\">template categorization guidelines<\/a> say utility must be non-promotional and specific to the user, such as confirming, updating or canceling an order. Templates with mixed content, like an order update with a promo, are marketing. Examples for a Shopify store:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Template<\/th><th>Suggested text<\/th><th>Category<\/th><\/tr><\/thead><tbody><tr><td><code>order_received<\/code><\/td><td>Hi {{1}}! We got your order {{2}} for {{3}}. We&#8217;ll let you know here when it ships.<\/td><td>Utility<\/td><\/tr><tr><td><code>order_awaiting_payment<\/code><\/td><td>Hi {{1}}! Your order {{2}} ({{3}}) is awaiting payment. Payment instructions are in your confirmation email.<\/td><td>Utility<\/td><\/tr><tr><td><code>payment_confirmed<\/code><\/td><td>{{1}}, payment for order {{2}} is confirmed. We&#8217;re packing your items now.<\/td><td>Utility<\/td><\/tr><tr><td><code>order_shipped<\/code><\/td><td>{{1}}, your order {{2}} shipped with {{3}}. Tracking number: {{4}}. Button: Track order<\/td><td>Utility<\/td><\/tr><tr><td><code>order_delivered<\/code><\/td><td>{{1}}, order {{2}} shows as delivered. If anything went wrong, reply to this message.<\/td><td>Utility<\/td><\/tr><tr><td><code>cart_reminder<\/code><\/td><td>You left items in your Example Store cart. Want to finish checking out? Button: View cart<\/td><td>Marketing<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The awaiting-payment message matters most in markets like Brazil, where many shoppers pay by Pix (instant bank transfer) or boleto (a payable bank slip), so the order exists before the money arrives. For more ready-made copy, see <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-template-examples\/\">WhatsApp template examples<\/a>. If Meta recategorizes a template, <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-template-categories\/\">how Meta classifies your template<\/a> explains the criteria.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Abandoned cart with checkouts\/update<\/h2>\n\n\n\n<p>Shopify has no &#8220;checkout abandoned&#8221; topic: abandonment is a checkout that has not turned into an order after some time. The flow:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On <code>checkouts\/create<\/code> or <code>checkouts\/update<\/code>, store the <code>token<\/code>, phone, <code>abandoned_checkout_url<\/code> and timestamp.<\/li>\n\n\n<li>Schedule a check a few hours later.<\/li>\n\n\n<li>Send only if the checkout still has no <code>completed_at<\/code> and the customer opted in to marketing.<\/li>\n\n\n<li>Send a single reminder, with the cart link on the button and a clear way to opt out.<\/li>\n\n<\/ol>\n\n\n\n<p>Under Meta&#8217;s guidelines, cart retargeting is marketing &#8220;even if requested by users.&#8221; Marketing costs more than utility (for recipients in Brazil, R$ 0.3217 versus R$ 0.0350 per delivered message, in Brazilian reais) and is subject to per-user marketing limits, so some reminders will not be delivered. The Brazilian playbook for Pix, boleto and cart recovery is in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/recover-pix-boleto-abandoned-cart-whatsapp\/\">recover Pix, boleto and abandoned carts on WhatsApp<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Opt-in at Shopify checkout<\/h2>\n\n\n\n<p>Meta asks that opt-in make clear the person agrees to receive WhatsApp messages from that business, and recommends separate consent per message type (<a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/getting-opt-in\" target=\"_blank\" rel=\"noreferrer noopener\">Get opt-in for WhatsApp<\/a>). On Shopify:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Shopify Plus:<\/strong> a <a href=\"https:\/\/shopify.dev\/docs\/api\/checkout-ui-extensions\" target=\"_blank\" rel=\"noreferrer noopener\">checkout UI extension<\/a> with a checkbox on the information, shipping or payment step writes a cart attribute with <code>applyAttributeChange<\/code>. It reaches the order in <code>note_attributes<\/code>, where the code looks for <code>whatsapp_orders<\/code>. On other plans, those steps do not accept extensions.<\/li>\n\n\n<li><strong>Cart page:<\/strong> a cart attribute field in the theme, which also lands in <code>note_attributes<\/code>.<\/li>\n\n\n<li><strong>Customer record:<\/strong> if the store tracks WhatsApp marketing consent on the customer, the <code>customers_whats_app_marketing_consent\/update<\/code> topic tells your backend about every change.<\/li>\n\n<\/ul>\n\n\n\n<p>Use two separate, unchecked boxes (order updates and offers) and store the date, source and accepted text. See <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-opt-in-list\/\">how to build a WhatsApp opt-in list<\/a>. If you sell to Brazil, the LGPD (Brazil&#8217;s data protection law) also applies; this article is not legal advice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to do it with Vectalk<\/h2>\n\n\n\n<p>Vectalk is a proxy for Meta&#8217;s official WhatsApp Cloud API: the backend above sends Meta&#8217;s exact JSON to <code>https:\/\/apis.vectalk.com.br\/api\/messages<\/code>, with an instance token in the <code>Authorization<\/code> header. Templates live in the dashboard (with a Template Library to start from), delivery statuses reach your webhook in Meta&#8217;s format, and each delivered message is deducted from a prepaid balance, so you don&#8217;t add a card to Meta. Store logic (events, cart reminders, customer service) stays in your backend, and the number can keep running in the WhatsApp Business app through coexistence. Start with the <a href=\"https:\/\/docs.vectalk.com.br\">docs<\/a> or <a href=\"https:\/\/apps.vectalk.com.br\/register\">create an account<\/a>. On another platform? See the same flow for <a href=\"https:\/\/vectalk.com.br\/blog\/en\/woocommerce-whatsapp-business-api\/\">WooCommerce<\/a> and <a href=\"https:\/\/vectalk.com.br\/blog\/en\/nuvemshop-tiendanube-whatsapp-api\/\">Nuvemshop\/Tiendanube<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can the order confirmation include a coupon for the next purchase?<\/h3>\n\n\n\n<p>It can, but then the template is no longer utility. Under Meta&#8217;s guidelines, mixed content is marketing, with marketing pricing and rules. Send the coupon separately, to customers who opted in to marketing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why did the customer get the same message twice?<\/h3>\n\n\n\n<p>Almost always the endpoint took longer than five seconds or did not return 200, so Shopify redelivered. Acknowledge immediately, use a queue and drop repeats by <code>X-Shopify-Webhook-Id<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I verify the WhatsApp webhook signature as well?<\/h3>\n\n\n\n<p>They are two different secrets: your Shopify app&#8217;s client secret verifies <code>X-Shopify-Hmac-SHA256<\/code>, and your Meta app secret verifies <code>X-Hub-Signature-256<\/code> on WhatsApp webhooks. The second is covered in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-signature-validation\/\">WhatsApp webhook signature validation<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How much does an order notification cost?<\/h3>\n\n\n\n<p>Since October 1, 2026, each utility template delivered to a Brazilian number costs R$ 0.0350 on Meta&#8217;s rate card; four notifications per order add up to R$ 0.14 before volume discounts. Rates vary by recipient country; see <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-api-pricing-brazil\/\">WhatsApp API pricing in Brazil<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Official sources consulted on October 29, 2026:<\/strong> <a href=\"https:\/\/shopify.dev\/docs\/api\/webhooks\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: webhook reference<\/a>, <a href=\"https:\/\/shopify.dev\/docs\/apps\/build\/webhooks\/subscribe\/https\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: deliver webhooks through HTTPS<\/a>, <a href=\"https:\/\/shopify.dev\/docs\/api\/usage\/access-scopes\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: access scopes<\/a>, <a href=\"https:\/\/shopify.dev\/docs\/apps\/launch\/protected-customer-data\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: protected customer data<\/a>, <a href=\"https:\/\/shopify.dev\/docs\/api\/checkout-ui-extensions\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: checkout UI extensions<\/a>, <a href=\"https:\/\/shopify.dev\/docs\/api\/admin-graphql\/latest\/enums\/FulfillmentEventStatus\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: FulfillmentEventStatus<\/a>, <a href=\"https:\/\/shopify.dev\/docs\/api\/admin-rest\/latest\/resources\/order\" target=\"_blank\" rel=\"noreferrer noopener\">Shopify: order note attributes<\/a>, <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/templates\/template-categorization\" target=\"_blank\" rel=\"noreferrer noopener\">Meta: template categorization<\/a>, <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/getting-opt-in\" target=\"_blank\" rel=\"noreferrer noopener\">Meta: get opt-in for WhatsApp<\/a>, <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/pricing\" target=\"_blank\" rel=\"noreferrer noopener\">Meta: pricing<\/a>, <a href=\"https:\/\/business.whatsapp.com\/policy\" target=\"_blank\" rel=\"noreferrer noopener\">WhatsApp Business Messaging Policy<\/a>, <a href=\"https:\/\/docs.vectalk.com.br\">Vectalk: documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to wire Shopify webhooks to the official WhatsApp Business API to confirm orders, send tracking and recover carts, with code and the right template categories.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-850","post","type-post","status-publish","format-standard","hentry","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shopify WhatsApp API: orders, tracking, carts | Vectalk<\/title>\n<meta name=\"description\" content=\"Connect Shopify to WhatsApp with the official API: orders\/create, fulfillments and checkouts webhooks, Node.js code, template categories and opt-in.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shopify WhatsApp API: orders, tracking, carts | Vectalk\" \/>\n<meta property=\"og:description\" content=\"Connect Shopify to WhatsApp with the official API: orders\/create, fulfillments and checkouts webhooks, Node.js code, template categories and opt-in.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Vectalk\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-29T13:38:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-29T13:38:09+00:00\" \/>\n<meta name=\"author\" content=\"wanderleyfcunha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wanderleyfcunha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/\"},\"author\":{\"name\":\"wanderleyfcunha\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\"},\"headline\":\"Shopify + the official WhatsApp API: order confirmation, tracking and abandoned cart\",\"datePublished\":\"2026-10-29T13:38:04+00:00\",\"dateModified\":\"2026-10-29T13:38:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/\"},\"wordCount\":1451,\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/\",\"url\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/\",\"name\":\"Shopify WhatsApp API: orders, tracking, carts | Vectalk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#website\"},\"datePublished\":\"2026-10-29T13:38:04+00:00\",\"dateModified\":\"2026-10-29T13:38:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\"},\"description\":\"Connect Shopify to WhatsApp with the official API: orders\\\/create, fulfillments and checkouts webhooks, Node.js code, template categories and opt-in.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/shopify-whatsapp-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shopify + the official WhatsApp API: order confirmation, tracking and abandoned cart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/\",\"name\":\"Blog Vectalk\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\",\"name\":\"wanderleyfcunha\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"caption\":\"wanderleyfcunha\"},\"sameAs\":[\"https:\\\/\\\/vectalk.com.br\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shopify WhatsApp API: orders, tracking, carts | Vectalk","description":"Connect Shopify to WhatsApp with the official API: orders\/create, fulfillments and checkouts webhooks, Node.js code, template categories and opt-in.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/","og_locale":"en_US","og_type":"article","og_title":"Shopify WhatsApp API: orders, tracking, carts | Vectalk","og_description":"Connect Shopify to WhatsApp with the official API: orders\/create, fulfillments and checkouts webhooks, Node.js code, template categories and opt-in.","og_url":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/","og_site_name":"Blog Vectalk","article_published_time":"2026-10-29T13:38:04+00:00","article_modified_time":"2026-10-29T13:38:09+00:00","author":"wanderleyfcunha","twitter_card":"summary_large_image","twitter_misc":{"Written by":"wanderleyfcunha","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/#article","isPartOf":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/"},"author":{"name":"wanderleyfcunha","@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b"},"headline":"Shopify + the official WhatsApp API: order confirmation, tracking and abandoned cart","datePublished":"2026-10-29T13:38:04+00:00","dateModified":"2026-10-29T13:38:09+00:00","mainEntityOfPage":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/"},"wordCount":1451,"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/","url":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/","name":"Shopify WhatsApp API: orders, tracking, carts | Vectalk","isPartOf":{"@id":"https:\/\/vectalk.com.br\/blog\/#website"},"datePublished":"2026-10-29T13:38:04+00:00","dateModified":"2026-10-29T13:38:09+00:00","author":{"@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b"},"description":"Connect Shopify to WhatsApp with the official API: orders\/create, fulfillments and checkouts webhooks, Node.js code, template categories and opt-in.","breadcrumb":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vectalk.com.br\/blog\/en\/shopify-whatsapp-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vectalk.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Shopify + the official WhatsApp API: order confirmation, tracking and abandoned cart"}]},{"@type":"WebSite","@id":"https:\/\/vectalk.com.br\/blog\/#website","url":"https:\/\/vectalk.com.br\/blog\/","name":"Blog Vectalk","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vectalk.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b","name":"wanderleyfcunha","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","caption":"wanderleyfcunha"},"sameAs":["https:\/\/vectalk.com.br\/blog"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/comments?post=850"}],"version-history":[{"count":1,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/850\/revisions"}],"predecessor-version":[{"id":853,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/850\/revisions\/853"}],"wp:attachment":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/media?parent=850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/categories?post=850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/tags?post=850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}