{"id":15852,"date":"2025-10-02T22:57:07","date_gmt":"2025-10-02T22:57:07","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=15852"},"modified":"2025-12-22T22:51:24","modified_gmt":"2025-12-22T22:51:24","slug":"update-shopify-customer-metafields-yotpo-loyalty-points","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/","title":{"rendered":"How to Update Shopify Customer Metafields with Yotpo Loyalty Points"},"content":{"rendered":"\n<p>Running a loyalty program across multiple platforms creates complexity, even with existing integrations. While you might already connect Yotpo to Klaviyo for email campaigns or sync basic data with Shopify, these standard integrations often leave gaps in your customer data ecosystem.<\/p>\n\n\n\n<p>Your checkout might not display real-time point balances, your product pages can&#8217;t show personalized rewards, and custom apps may not access the loyalty data they need. Even with popular integration tools, loyalty information often remains one step removed from where you need it most.<\/p>\n\n\n\n<p>This disconnect creates missed opportunities for personalization and customer engagement. When loyalty data isn&#8217;t fully accessible across your entire tech stack, you&#8217;re limited in how you can leverage that valuable customer information.<\/p>\n\n\n\n<p>The solution lies in syncing Yotpo loyalty points directly into Shopify customer metafields. This approach creates a comprehensive customer profile that goes beyond standard integrations, giving you complete control over how loyalty data flows through your ecosystem while maintaining accuracy across all platforms.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p><strong>TL;DR: Skip the manual setup and use our pre-built template to sync Yotpo loyalty points to Shopify metafields in minutes.<\/strong><\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>update-shopify-customer-metafield-yotpo-loyalty-points<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"update-shopify-customer-metafield-yotpo-loyalty-points\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\t\t<style>.mesa-template-backend {\n    background: rgba(139, 139, 150, 0.1);\n    padding: 22px;\n}\n\n.mesa-template-backend h5,\n.mesa-template-backend p {\n    margin: 0 0 5px;\n}\n\n.mesa-template-backend p {\n    font-size: 16px;\n}\n\n.mesa-template-backend p:last-child {\n    display: inline-block;\n    background: #fff;\n    padding: 5px 10px;\n}\n\n.mesa-template-backend p strong {\n    font-size: 12px;\n}<\/style>\n\t\t\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents:<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Step-by-step-guide-How-to-update-Shopify-customer-metafield-with-Yotpo-loyalty-points\" >Step-by-step guide: How to update Shopify customer metafield with Yotpo loyalty points<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Why-update-Shopify-customer-metafields-with-Yotpo-loyalty-points\" >Why update Shopify customer metafields with Yotpo loyalty points?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Tips-on-optimizing-loyalty-point-metafield-management\" >Tips on optimizing loyalty point metafield management<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Use-structured-metafield-types\" >Use structured metafield types<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Implement-point-expiration-tracking\" >Implement point expiration tracking<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Consider-multi-currency-point-values\" >Consider multi-currency point values<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.getmesa.com/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#Frequently-asked-questions\" >Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-guide-how-to-update-shopify-customer-metafield-with-yotpo-loyalty-points\"><span class=\"ez-toc-section\" id=\"Step-by-step-guide-How-to-update-Shopify-customer-metafield-with-Yotpo-loyalty-points\"><\/span>Step-by-step guide: How to update Shopify customer metafield with Yotpo loyalty points<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-total-time\"><span class=\"schema-how-to-duration-time-text\">Time needed:&nbsp;<\/span>5 minutes<\/p><p class=\"schema-how-to-description\">This automation monitors Yotpo Loyalty for point balance changes and immediately updates the corresponding customer&#8217;s metafield in Shopify with their current point total. The workflow uses Yotpo&#8217;s customer email to locate the matching Shopify customer record, then stores the point balance in a structured metafield for easy access by themes, apps, and marketing tools.<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1758649067289\"><strong class=\"schema-how-to-step-name\">Set up Yotpo points change trigger<\/strong> <p class=\"schema-how-to-step-text\">Start with the trigger to monitor when customer point balances change in Yotpo Loyalty, capturing the customer&#8217;s email and updated point balance to initiate the sync process.<img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"350\" class=\"wp-image-15859\" alt=\"Set up Yotpo points change trigger\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-335.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-335.png 1600w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-335-300x66.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-335-1024x224.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-335-768x168.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-335-1536x336.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1758649270820\"><strong class=\"schema-how-to-step-name\">Search for matching Shopify customer<\/strong> <p class=\"schema-how-to-step-text\">Use the customer&#8217;s email from Yotpo to search Shopify&#8217;s customer database and retrieve the customer ID needed for the metafield update.<img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"956\" class=\"wp-image-15860\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-336.png\" alt=\"Search for matching Shopify customer\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-336.png 1600w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-336-300x179.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-336-1024x612.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-336-768x459.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-336-1536x918.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1758649447099\"><strong class=\"schema-how-to-step-name\">Update customer metafield with point balance<\/strong> <p class=\"schema-how-to-step-text\">Assign the Customer ID variable from the results of the Search Customer step. Because we\u2019re matching the search based on the email, we can simply grab the first results instead of having to loop through all the results first.<br\/><br\/>Store the current loyalty point balance in a Shopify customer metafield using the namespace &#8220;custom&#8221; and key &#8220;yotpo_loyalty_points&#8221; as a number integer type for consistent data structure.<img loading=\"lazy\" decoding=\"async\" width=\"1281\" height=\"1600\" class=\"wp-image-15861\" alt=\"Update customer metafield with point balance\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-337.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-337.png 1281w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-337-240x300.png 240w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-337-820x1024.png 820w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-337-768x959.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-337-1230x1536.png 1230w\" sizes=\"auto, (max-width: 1281px) 100vw, 1281px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1758649508900\"><strong class=\"schema-how-to-step-name\">Activate and test the workflow<\/strong> <p class=\"schema-how-to-step-text\">Turn the workflow On and run a test point change in Yotpo to verify the automation successfully updates the Shopify customer metafield before allowing it to run automatically.<img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1231\" class=\"wp-image-15862\" alt=\"Turn on to update Shopify customer metafields with Yotpo Loyalty points\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-338.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-338.png 1600w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-338-300x231.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-338-1024x788.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-338-768x591.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-338-1536x1182.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/p> <\/li><\/ol><\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p>Get this workflow running today with our tested template.<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>update-shopify-customer-metafield-yotpo-loyalty-points<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"update-shopify-customer-metafield-yotpo-loyalty-points\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-update-shopify-customer-metafields-with-yotpo-loyalty-points\"><span class=\"ez-toc-section\" id=\"Why-update-Shopify-customer-metafields-with-Yotpo-loyalty-points\"><\/span>Why update Shopify customer metafields with Yotpo loyalty points?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By syncing Yotpo points into Shopify metafields, you enable real-time personalization, advanced customer segmentation, and seamless integration with other Shopify apps and tools. This approach eliminates the technical complexity of managing multiple data sources while ensuring your loyalty program data enhances every customer touchpoint.<\/p>\n\n\n\n<p>You can first create abandoned cart recovery emails that reference specific point balances, then build product recommendation engines that factor in reward eligibility, and finally develop VIP customer experiences triggered by point thresholds.<\/p>\n\n\n\n<p>The metafield approach also enables offline point redemption tracking for businesses with physical locations, supports complex loyalty tier migrations, and creates audit trails for customer service teams resolving point disputes. Most importantly, it future-proofs your <a href=\"https:\/\/www.getmesa.com\/templates\/search?tag=Loyalty_%2526_Rewards\">loyalty program automation<\/a> by ensuring point data remains accessible even if you switch loyalty platforms.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tips-on-optimizing-loyalty-point-metafield-management\"><span class=\"ez-toc-section\" id=\"Tips-on-optimizing-loyalty-point-metafield-management\"><\/span>Tips on optimizing loyalty point metafield management<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-use-structured-metafield-types\"><span class=\"ez-toc-section\" id=\"Use-structured-metafield-types\"><\/span>Use structured metafield types<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Set your metafield as &#8220;integer&#8221; type rather than plain text to enable mathematical operations, sorting, and proper data validation. This structure allows you to build dynamic customer segments based on point ranges and calculate reward values programmatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-implement-point-expiration-tracking\"><span class=\"ez-toc-section\" id=\"Implement-point-expiration-tracking\"><\/span>Implement point expiration tracking<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Create additional metafields to store point expiration dates and tier status, enabling proactive marketing campaigns that encourage redemption before points expire. Store expiration dates as &#8220;date&#8221; type metafields and tier levels as &#8220;single line text&#8221; for maximum flexibility in campaign targeting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-consider-multi-currency-point-values\"><span class=\"ez-toc-section\" id=\"Consider-multi-currency-point-values\"><\/span>Consider multi-currency point values<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For international stores, store both raw points and localized currency equivalents in separate metafields to display meaningful reward values to customers in different regions. Use &#8220;decimal&#8221; type for currency values and include the currency code in your metafield naming convention for clarity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\"><span class=\"ez-toc-section\" id=\"Frequently-asked-questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1758649695900\"><strong class=\"schema-faq-question\"><strong>How do I view Yotpo loyalty points in Shopify admin?<\/strong> <\/strong> <p class=\"schema-faq-answer\">Navigate to your customer&#8217;s profile in Shopify admin and scroll to the Metafields section. Look for the &#8220;custom.yotpo_loyalty_points&#8221; metafield to see their current point balance synced from Yotpo.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1758649716414\"><strong class=\"schema-faq-question\"><strong>What automation tools work best for Yotpo Shopify integration?<\/strong><\/strong> <p class=\"schema-faq-answer\">MESA provides native <a href=\"https:\/\/www.getmesa.com\/apps\/yotpo-loyalty\">Yotpo integration<\/a> with pre-built templates specifically designed for loyalty point syncing.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1758649731520\"><strong class=\"schema-faq-question\"><strong>How to display customer loyalty points on Shopify storefront?<\/strong><\/strong> <p class=\"schema-faq-answer\">Use Liquid code in your theme to access the metafield: <code>{{ customer.metafields.custom.yotpo_loyalty_points }}<\/code> to display the point balance anywhere in your customer account pages or checkout process.<\/p> <\/div> <\/div>\n\n\n\n<div class=\"card-next-steps\">\n\t<div class=\"card__content\">\n\t\t<h4>What to do next&#8230;<\/h4>\n<p>The fastest way to see automation working in your store is to start with a single workflow.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.getmesa.com\/pricing\"><strong>Try MESA free<\/strong><\/a> \u2014 start a 7-day free trial and get your first workflow running.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/templates\"><strong>Browse the template library<\/strong><\/a> \u2014 pre-built workflows for the most common Shopify automation tasks.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/yedric\"><strong>Talk to Yedric<\/strong><\/a> \u2014 describe what you want to automate, and let our AI assistant build it for you.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/support\"><strong>Get free workflow setup<\/strong><\/a> \u2014 MESA&#8217;s team will build your first workflow at no cost.<\/li>\n<\/ol>\n\t<\/div><!-- \/.card__content -->\n\n\t\n<div class=\"socials card__socials\">\n\t<ul>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/twitter.com\/getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/twitter-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: twitter\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.youtube.com\/@getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/youtube-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: youtube\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.linkedin.com\/company\/9754608\/\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/linkedin-icon.svg\" class=\"attachment-small size-small\" alt=\"linkedin icon\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t<\/ul>\n<\/div><!-- \/.socials -->\n<\/div><!-- \/.card-next-steps -->\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running a loyalty program across multiple platforms creates complexity, even with existing integrations. While you might already connect Yotpo to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":15857,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[66,317],"class_list":["post-15852","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-shopify","tag-yotpo-loyalty"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Update Shopify Customer Metafields with Yotpo Loyalty Points<\/title>\n<meta name=\"description\" content=\"Sync Yotpo loyalty points to Shopify metafields for real-time personalization and advanced customer segmentation.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Update Shopify Customer Metafields with Yotpo Loyalty Points\" \/>\n<meta property=\"og:description\" content=\"Running a loyalty program across multiple platforms creates complexity, even with existing integrations. While you might already connect Yotpo to Klaviyo\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/\" \/>\n<meta property=\"og:site_name\" content=\"MESA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/mesabyshoppad\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-02T22:57:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T22:51:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/yotpo-loyalty-shopify.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ryan ODonnell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@getmesa\" \/>\n<meta name=\"twitter:site\" content=\"@getmesa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan ODonnell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/37dc9b968192b2be49af3950022179cc\"},\"headline\":\"How to Update Shopify Customer Metafields with Yotpo Loyalty Points\",\"datePublished\":\"2025-10-02T22:57:07+00:00\",\"dateModified\":\"2025-12-22T22:51:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/\"},\"wordCount\":820,\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/yotpo-loyalty-shopify.png\",\"keywords\":[\"shopify\",\"yotpo loyalty\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/\",\"name\":\"Update Shopify Customer Metafields with Yotpo Loyalty Points\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/yotpo-loyalty-shopify.png\",\"datePublished\":\"2025-10-02T22:57:07+00:00\",\"dateModified\":\"2025-12-22T22:51:24+00:00\",\"description\":\"Sync Yotpo loyalty points to Shopify metafields for real-time personalization and advanced customer segmentation.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649695900\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649716414\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649731520\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/yotpo-loyalty-shopify.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/yotpo-loyalty-shopify.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Update Shopify Customer Metafields with Yotpo Loyalty Points\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Update Shopify Customer Metafields with Yotpo Loyalty Points\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"name\":\"MESA\",\"description\":\"Discover how to automate your Shopify growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\",\"name\":\"MESA - AI automation Platform\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"width\":225,\"height\":225,\"caption\":\"MESA - AI automation Platform\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/web.facebook.com\\\/mesabyshoppad\\\/\",\"https:\\\/\\\/x.com\\\/getmesa\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/shoppad\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCqsf_WhcGEsZMvms1idivyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/37dc9b968192b2be49af3950022179cc\",\"name\":\"Ryan ODonnell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"caption\":\"Ryan ODonnell\"},\"sameAs\":[\"https:\\\/\\\/www.getmesa.com\"],\"jobTitle\":\"Director of Marketing\",\"worksFor\":\"MESA\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649695900\",\"position\":1,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649695900\",\"name\":\"How do I view Yotpo loyalty points in Shopify admin?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Navigate to your customer's profile in Shopify admin and scroll to the Metafields section. Look for the \\\"custom.yotpo_loyalty_points\\\" metafield to see their current point balance synced from Yotpo.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649716414\",\"position\":2,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649716414\",\"name\":\"What automation tools work best for Yotpo Shopify integration?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"MESA provides native <a href=\\\"https:\\\/\\\/www.getmesa.com\\\/apps\\\/yotpo-loyalty\\\">Yotpo integration<\\\/a> with pre-built templates specifically designed for loyalty point syncing.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649731520\",\"position\":3,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#faq-question-1758649731520\",\"name\":\"How to display customer loyalty points on Shopify storefront?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Use Liquid code in your theme to access the metafield: {{ customer.metafields.custom.yotpo_loyalty_points }} to display the point balance anywhere in your customer account pages or checkout process.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#howto-1\",\"name\":\"How to Update Shopify Customer Metafields with Yotpo Loyalty Points\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#article\"},\"description\":\"This automation monitors Yotpo Loyalty for point balance changes and immediately updates the corresponding customer's metafield in Shopify with their current point total. The workflow uses Yotpo's customer email to locate the matching Shopify customer record, then stores the point balance in a structured metafield for easy access by themes, apps, and marketing tools.\",\"totalTime\":\"P0DT0H5M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#how-to-step-1758649067289\",\"name\":\"Set up Yotpo points change trigger\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Start with the trigger to monitor when customer point balances change in Yotpo Loyalty, capturing the customer's email and updated point balance to initiate the sync process.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#schema-image-2fc17f4f13ac216e4e6872b2098a2bb6\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-335.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-335.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#how-to-step-1758649270820\",\"name\":\"Search for matching Shopify customer\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Use the customer's email from Yotpo to search Shopify's customer database and retrieve the customer ID needed for the metafield update.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#schema-image-4b7b340226bb9800eeb0b2112b334ad0\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-336.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-336.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#how-to-step-1758649447099\",\"name\":\"Update customer metafield with point balance\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Assign the Customer ID variable from the results of the Search Customer step. Because we\u2019re matching the search based on the email, we can simply grab the first results instead of having to loop through all the results first.Store the current loyalty point balance in a Shopify customer metafield using the namespace \\\"custom\\\" and key \\\"yotpo_loyalty_points\\\" as a number integer type for consistent data structure.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#schema-image-9c1d72e1f0ddc1fed6045e1a660709ed\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-337.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-337.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#how-to-step-1758649508900\",\"name\":\"Activate and test the workflow\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Turn the workflow On and run a test point change in Yotpo to verify the automation successfully updates the Shopify customer metafield before allowing it to run automatically.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/update-shopify-customer-metafields-yotpo-loyalty-points\\\/#schema-image-7b37ee6911a39162826e4efee9aa41de\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-338.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-338.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Update Shopify Customer Metafields with Yotpo Loyalty Points","description":"Sync Yotpo loyalty points to Shopify metafields for real-time personalization and advanced customer segmentation.","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:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/","og_locale":"en_US","og_type":"article","og_title":"How to Update Shopify Customer Metafields with Yotpo Loyalty Points","og_description":"Running a loyalty program across multiple platforms creates complexity, even with existing integrations. While you might already connect Yotpo to Klaviyo","og_url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2025-10-02T22:57:07+00:00","article_modified_time":"2025-12-22T22:51:24+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/yotpo-loyalty-shopify.png","type":"image\/png"}],"author":"Ryan ODonnell","twitter_card":"summary_large_image","twitter_creator":"@getmesa","twitter_site":"@getmesa","twitter_misc":{"Written by":"Ryan ODonnell","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/37dc9b968192b2be49af3950022179cc"},"headline":"How to Update Shopify Customer Metafields with Yotpo Loyalty Points","datePublished":"2025-10-02T22:57:07+00:00","dateModified":"2025-12-22T22:51:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/"},"wordCount":820,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/yotpo-loyalty-shopify.png","keywords":["shopify","yotpo loyalty"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/","url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/","name":"Update Shopify Customer Metafields with Yotpo Loyalty Points","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/yotpo-loyalty-shopify.png","datePublished":"2025-10-02T22:57:07+00:00","dateModified":"2025-12-22T22:51:24+00:00","description":"Sync Yotpo loyalty points to Shopify metafields for real-time personalization and advanced customer segmentation.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649695900"},{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649716414"},{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649731520"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/yotpo-loyalty-shopify.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/yotpo-loyalty-shopify.png","width":1280,"height":720,"caption":"How to Update Shopify Customer Metafields with Yotpo Loyalty Points"},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Update Shopify Customer Metafields with Yotpo Loyalty Points"}]},{"@type":"WebSite","@id":"https:\/\/www.getmesa.com\/blog\/#website","url":"https:\/\/www.getmesa.com\/blog\/","name":"MESA","description":"Discover how to automate your Shopify growth","publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.getmesa.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.getmesa.com\/blog\/#organization","name":"MESA - AI automation Platform","url":"https:\/\/www.getmesa.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","width":225,"height":225,"caption":"MESA - AI automation Platform"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/mesabyshoppad\/","https:\/\/x.com\/getmesa","https:\/\/www.linkedin.com\/company\/shoppad\/","https:\/\/www.youtube.com\/channel\/UCqsf_WhcGEsZMvms1idivyw"]},{"@type":"Person","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/37dc9b968192b2be49af3950022179cc","name":"Ryan ODonnell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","caption":"Ryan ODonnell"},"sameAs":["https:\/\/www.getmesa.com"],"jobTitle":"Director of Marketing","worksFor":"MESA"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649695900","position":1,"url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649695900","name":"How do I view Yotpo loyalty points in Shopify admin?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Navigate to your customer's profile in Shopify admin and scroll to the Metafields section. Look for the \"custom.yotpo_loyalty_points\" metafield to see their current point balance synced from Yotpo.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649716414","position":2,"url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649716414","name":"What automation tools work best for Yotpo Shopify integration?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"MESA provides native <a href=\"https:\/\/www.getmesa.com\/apps\/yotpo-loyalty\">Yotpo integration<\/a> with pre-built templates specifically designed for loyalty point syncing.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649731520","position":3,"url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#faq-question-1758649731520","name":"How to display customer loyalty points on Shopify storefront?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Use Liquid code in your theme to access the metafield: {{ customer.metafields.custom.yotpo_loyalty_points }} to display the point balance anywhere in your customer account pages or checkout process.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#howto-1","name":"How to Update Shopify Customer Metafields with Yotpo Loyalty Points","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#article"},"description":"This automation monitors Yotpo Loyalty for point balance changes and immediately updates the corresponding customer's metafield in Shopify with their current point total. The workflow uses Yotpo's customer email to locate the matching Shopify customer record, then stores the point balance in a structured metafield for easy access by themes, apps, and marketing tools.","totalTime":"P0DT0H5M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#how-to-step-1758649067289","name":"Set up Yotpo points change trigger","itemListElement":[{"@type":"HowToDirection","text":"Start with the trigger to monitor when customer point balances change in Yotpo Loyalty, capturing the customer's email and updated point balance to initiate the sync process."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#schema-image-2fc17f4f13ac216e4e6872b2098a2bb6","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-335.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-335.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#how-to-step-1758649270820","name":"Search for matching Shopify customer","itemListElement":[{"@type":"HowToDirection","text":"Use the customer's email from Yotpo to search Shopify's customer database and retrieve the customer ID needed for the metafield update."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#schema-image-4b7b340226bb9800eeb0b2112b334ad0","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-336.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-336.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#how-to-step-1758649447099","name":"Update customer metafield with point balance","itemListElement":[{"@type":"HowToDirection","text":"Assign the Customer ID variable from the results of the Search Customer step. Because we\u2019re matching the search based on the email, we can simply grab the first results instead of having to loop through all the results first.Store the current loyalty point balance in a Shopify customer metafield using the namespace \"custom\" and key \"yotpo_loyalty_points\" as a number integer type for consistent data structure."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#schema-image-9c1d72e1f0ddc1fed6045e1a660709ed","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-337.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-337.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#how-to-step-1758649508900","name":"Activate and test the workflow","itemListElement":[{"@type":"HowToDirection","text":"Turn the workflow On and run a test point change in Yotpo to verify the automation successfully updates the Shopify customer metafield before allowing it to run automatically."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/update-shopify-customer-metafields-yotpo-loyalty-points\/#schema-image-7b37ee6911a39162826e4efee9aa41de","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-338.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-338.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/15852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/comments?post=15852"}],"version-history":[{"count":7,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/15852\/revisions"}],"predecessor-version":[{"id":17284,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/15852\/revisions\/17284"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/15857"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=15852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=15852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=15852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}