{"id":14662,"date":"2025-10-19T00:22:08","date_gmt":"2025-10-18T18:52:08","guid":{"rendered":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/"},"modified":"2025-10-19T00:27:17","modified_gmt":"2025-10-18T18:57:17","slug":"product-category-update-events","status":"publish","type":"docs","link":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/","title":{"rendered":"Product \/ Category Update Events"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Overview<\/strong><\/h2>\n\n\n\n<p>The <strong>Klaviyo OpenCart Integration Extension<\/strong> automatically syncs your store\u2019s <strong>products<\/strong> and <strong>categories<\/strong> with your <strong>Klaviyo Catalog<\/strong> whenever you perform an add, edit, or delete action in the OpenCart admin panel.<\/p>\n\n\n\n<p>This ensures your Klaviyo catalog is always up-to-date without requiring manual intervention or feed regeneration.<br>The event-based system leverages OpenCart\u2019s native <strong>Event Triggers<\/strong> and <strong>Klaviyo Catalog API<\/strong> for real-time synchronization.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How It Works<\/strong><\/h2>\n\n\n\n<p>Each time you <strong>add<\/strong>, <strong>edit<\/strong>, or <strong>delete<\/strong> a product or category in your OpenCart admin, a corresponding <strong>event<\/strong> is triggered.<br>This event makes a secure API call to your <strong>catalog-side Klaviyo controller<\/strong>, which then updates Klaviyo in real time.<\/p>\n\n\n\n<p>All event actions are automatically registered during the module installation process.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Category Sync Events<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Sync Category to Klaviyo on Add<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggered when a new category is created in OpenCart.<\/li>\n\n\n\n<li>Automatically creates a matching <strong>Catalog Category<\/strong> in Klaviyo.<\/li>\n\n\n\n<li>Uses the OpenCart category name and ID as the unique identifier.<\/li>\n\n\n\n<li>Example:<br>When you add <em>\u201cApple Products\u201d<\/em>, a corresponding entry is created in Klaviyo with external ID = category_id.<\/li>\n<\/ul>\n\n\n\n<p><strong>Event Trigger:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin\/model\/catalog\/category\/addCategory\/after\n<\/code><\/pre>\n\n\n\n<p><strong>Klaviyo Action:<\/strong><br><code>POST \u2192 \/api\/catalog-categories<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Sync Category to Klaviyo on Edit<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggered when an existing category is updated in OpenCart.<\/li>\n\n\n\n<li>The corresponding Klaviyo category entry is updated automatically.<\/li>\n\n\n\n<li>Updates include the category name or hierarchy changes.<\/li>\n<\/ul>\n\n\n\n<p><strong>Event Trigger:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin\/model\/catalog\/category\/editCategory\/after\n<\/code><\/pre>\n\n\n\n<p><strong>Klaviyo Action:<\/strong><br><code>PATCH \u2192 \/api\/catalog-categories\/{id}<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Delete Category from Klaviyo on Delete<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggered when a category is deleted in OpenCart.<\/li>\n\n\n\n<li>The same category is removed from Klaviyo Catalog using the external ID.<\/li>\n\n\n\n<li>Ensures that obsolete categories are cleaned up in Klaviyo automatically.<\/li>\n<\/ul>\n\n\n\n<p><strong>Event Trigger:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin\/model\/catalog\/category\/deleteCategory\/after\n<\/code><\/pre>\n\n\n\n<p><strong>Klaviyo Action:<\/strong><br><code>DELETE \u2192 \/api\/catalog-categories\/{id}<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Product Sync Events<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Sync Product to Klaviyo on Add<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggered when a new product is added in OpenCart.<\/li>\n\n\n\n<li>Automatically creates both <strong>Catalog Item<\/strong> and <strong>Catalog Variant<\/strong> in Klaviyo.<\/li>\n\n\n\n<li>Product details such as title, description, price, image, and inventory quantity are included.<\/li>\n\n\n\n<li>Supports multi-language product data via custom metadata fields.<\/li>\n<\/ul>\n\n\n\n<p><strong>Event Trigger:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin\/model\/catalog\/product\/addProduct\/after\n<\/code><\/pre>\n\n\n\n<p><strong>Klaviyo Actions:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>POST \u2192 \/api\/catalog-items  \nPOST \u2192 \/api\/catalog-variants\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Sync Product to Klaviyo on Edit<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggered when a product is updated in OpenCart.<\/li>\n\n\n\n<li>Automatically updates the corresponding <strong>Catalog Item<\/strong> and <strong>Catalog Variant<\/strong> in Klaviyo.<\/li>\n\n\n\n<li>Updates include name, price, image, quantity, and metadata fields.<\/li>\n\n\n\n<li>If the product already exists in Klaviyo, the event updates it instead of recreating.<\/li>\n<\/ul>\n\n\n\n<p><strong>Event Trigger:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin\/model\/catalog\/product\/editProduct\/after\n<\/code><\/pre>\n\n\n\n<p><strong>Klaviyo Actions:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PATCH \u2192 \/api\/catalog-items\/{id}  \nPATCH \u2192 \/api\/catalog-variants\/{id}\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. Delete Product from Klaviyo on Delete<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggered when a product is deleted in OpenCart.<\/li>\n\n\n\n<li>The associated product and variant are removed from Klaviyo Catalog.<\/li>\n\n\n\n<li>Prevents old or removed products from appearing in Klaviyo campaigns or product feeds.<\/li>\n<\/ul>\n\n\n\n<p><strong>Event Trigger:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin\/model\/catalog\/product\/deleteProduct\/after\n<\/code><\/pre>\n\n\n\n<p><strong>Klaviyo Actions:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DELETE \u2192 \/api\/catalog-items\/{id}  \nDELETE \u2192 \/api\/catalog-variants\/{id}\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Additional Notes<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All API responses (success or failure) are logged inside: <code>\/system\/storage\/logs\/huntbee_klaviyo_logs\/klaviyo_logs.txt<\/code><\/li>\n\n\n\n<li>You can view the log file to monitor sync status and API responses from the extension itself.<\/li>\n\n\n\n<li>If a product or category already exists in Klaviyo, the system automatically switches from <strong>create<\/strong> to <strong>update<\/strong> mode.<\/li>\n\n\n\n<li>Syncs run instantly after the admin clicks <strong>Save<\/strong>, ensuring real-time catalog accuracy.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Benefits of Event-Based Sync<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Real-time updates \u2014 no manual feed refresh required.<\/li>\n\n\n\n<li>Fully automated \u2014 works seamlessly with your normal OpenCart workflow.<\/li>\n\n\n\n<li>Ideal for large catalogs where frequent updates occur.<\/li>\n\n\n\n<li>Keeps your Klaviyo product data accurate for personalized marketing, recommendations, and back-in-stock alerts.<\/li>\n<\/ul>\n","protected":false},"featured_media":0,"parent":2968,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-14662","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Product \/ Category Update Events - HuntBee Resources<\/title>\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.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Product \/ Category Update Events - HuntBee Resources\" \/>\n<meta property=\"og:description\" content=\"Overview The Klaviyo OpenCart Integration Extension automatically syncs your store\u2019s products and categories with your Klaviyo Catalog whenever you perform an add, edit, or delete action in the OpenCart admin panel. This ensures your Klaviyo catalog is always up-to-date without requiring manual intervention or feed regeneration.The event-based system leverages OpenCart\u2019s native Event Triggers and Klaviyo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/\" \/>\n<meta property=\"og:site_name\" content=\"HuntBee Resources\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/huntbee.opencart\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-18T18:57:17+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/events\\\/product-category-update-events\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/events\\\/product-category-update-events\\\/\",\"name\":\"Product \\\/ Category Update Events - HuntBee Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\"},\"datePublished\":\"2025-10-18T18:52:08+00:00\",\"dateModified\":\"2025-10-18T18:57:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/events\\\/product-category-update-events\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/events\\\/product-category-update-events\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/events\\\/product-category-update-events\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Klaviyo: Marketing Automation\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Events\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/klaviyo-marketing-automation\\\/events\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Product \\\/ Category Update Events\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"name\":\"HuntBee Resources\",\"description\":\"OpenCart Extension Documentations - Guides - Blogs - Projects\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\",\"name\":\"HuntBee OpenCart\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"contentUrl\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"width\":945,\"height\":200,\"caption\":\"HuntBee OpenCart\"},\"image\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/huntbee.opencart\",\"https:\\\/\\\/www.instagram.com\\\/opencart.huntbee\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Product \/ Category Update Events - HuntBee Resources","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.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/","og_locale":"en_US","og_type":"article","og_title":"Product \/ Category Update Events - HuntBee Resources","og_description":"Overview The Klaviyo OpenCart Integration Extension automatically syncs your store\u2019s products and categories with your Klaviyo Catalog whenever you perform an add, edit, or delete action in the OpenCart admin panel. This ensures your Klaviyo catalog is always up-to-date without requiring manual intervention or feed regeneration.The event-based system leverages OpenCart\u2019s native Event Triggers and Klaviyo [&hellip;]","og_url":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/","og_site_name":"HuntBee Resources","article_publisher":"https:\/\/www.facebook.com\/huntbee.opencart","article_modified_time":"2025-10-18T18:57:17+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/","url":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/","name":"Product \/ Category Update Events - HuntBee Resources","isPartOf":{"@id":"https:\/\/www.huntbee.com\/resources\/#website"},"datePublished":"2025-10-18T18:52:08+00:00","dateModified":"2025-10-18T18:57:17+00:00","breadcrumb":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/product-category-update-events\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.huntbee.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Klaviyo: Marketing Automation","item":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/"},{"@type":"ListItem","position":3,"name":"Events","item":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/"},{"@type":"ListItem","position":4,"name":"Product \/ Category Update Events"}]},{"@type":"WebSite","@id":"https:\/\/www.huntbee.com\/resources\/#website","url":"https:\/\/www.huntbee.com\/resources\/","name":"HuntBee Resources","description":"OpenCart Extension Documentations - Guides - Blogs - Projects","publisher":{"@id":"https:\/\/www.huntbee.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.huntbee.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.huntbee.com\/resources\/#organization","name":"HuntBee OpenCart","url":"https:\/\/www.huntbee.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","contentUrl":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","width":945,"height":200,"caption":"HuntBee OpenCart"},"image":{"@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/huntbee.opencart","https:\/\/www.instagram.com\/opencart.huntbee\/"]}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/comments?post=14662"}],"version-history":[{"count":1,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14662\/revisions"}],"predecessor-version":[{"id":14666,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14662\/revisions\/14666"}],"up":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/2968"}],"prev":[{"title":"Order Update","link":"https:\/\/www.huntbee.com\/resources\/docs\/klaviyo-marketing-automation\/events\/order-update\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/2979"}],"wp:attachment":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/media?parent=14662"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=14662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}