---
title: "Codeunit 30177 Shpfy Product Events"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/
type: codeunit
id: 30177
name: "Shpfy Product Events"
app: "Shopify Connector"
namespace: Microsoft.Integration.Shopify
versions: "20-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/source/?v=27 https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/source/?v=28 https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 30177 Shpfy Product Events

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/

| | |
| --- | --- |
| App | Shopify Connector |
| Namespace | Microsoft.Integration.Shopify |
| Versions | 20-29 |
| Minors | W1 20.1-29.0; DE 20.1-29.0; US 20.1-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/editions.json) |
| Source file | src/Products/Codeunits/ShpfyProductEvents.Codeunit.al |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Internal event | OnAfterSetProductTitle | (Item: Record Item; LanguageCode: Code[10]; var Title: Text) | 20-29 | - | - |
| Integration event | OnAfterCreateItem | (Shop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item) | 20-29 | - | - |
| Integration event | OnAfterCreateItemVariant | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; var ItemVariant: Record "Item Variant") | 20-29 | - | - |
| Internal event | OnAfterCreateItemVariantCode | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; var ItemVariantCode: Code[10]) | 20-21 | - | - |
| Integration event | OnAfterCreateProductBodyHtml | (ItemNo: Code[20]; ShopifyShop: Record "Shpfy Shop"; var ProductBodyHtml: Text) | 20-24 | - | - |
| Internal event | OnAfterFindItemTemplate | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var TemplateCode: Code[10]) | 20-21 | - | - |
| Internal event | OnAfterGetCommaSeperatedTags | (ShopifyProduct: Record "Shpfy Product"; var Tags: Text) | 20-21 | - | - |
| Integration event | OnAfterGetBarcode | (ItemNo: Code[20]; VariantCode: Code[10]; UoM: Code[10]; var Barcode: Text) | 20-29 | - | - |
| Integration event | OnBeforeCreateItem | (Shop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item; var Handled: Boolean) | 20-29 | - | - |
| Integration event | OnBeforeCreateItemVariant | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; var ItemVariant: Record "Item Variant"; var Handled: Boolean) | 20-29 | - | - |
| Integration event | OnBeforeCreateItemVariantCode | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; var ItemVariantCode: Code[10]; var Handled: Boolean) | 20-29 | - | - |
| Integration event | OnBeforeCreateProductBodyHtml | (ItemNo: Code[20]; ShopifyShop: Record "Shpfy Shop"; var ProductBodyHtml: Text; var Handled: Boolean) | 20-24 | - | - |
| Internal event | OnBeforeFindItemTemplate | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var TemplateCode: Code[10]; var Handled: Boolean) | 20-21 | - | - |
| Integration event | OnBeforGetBarcode | (ItemNo: Code[20]; VariantCode: Code[10]; UoM: Code[10]; var Barcode: Text; var Handled: Boolean) | 20-29 | - | - |
| Integration event | OnBeforSetProductTitle | (Item: Record Item; LanguageCode: Code[10]; var Title: Text; var Handled: Boolean) | 20-29 | - | - |
| Internal event | OnAfterFindMapping | (Direction: Enum "Shpfy Mapping Direction"; var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item; ItemVariant: Record "Item Variant") | 20-21 | - | - |
| Integration event | OnBeforeFindMapping | (Direction: Enum "Shpfy Mapping Direction"; var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item; ItemVariant: Record "Item Variant"; var Handled: Boolean) | 20-26 | Pending 24.0 | This event is deprecated. Please use OnBeforeFindProductMapping |
| Integration event | OnAfterCalculateUnitPrice | (Item: Record Item; VariantCode: Code[20]; UnitOfMeasure: Code[20]; ShopifyShop: Record "Shpfy Shop"; var UnitCost: Decimal; var Price: Decimal; var ComparePrice: Decimal) | 20-24 | - | - |
| Integration event | OnBeforeCalculateUnitPrice | (Item: Record Item; VariantCode: Code[20]; UnitOfMeasure: Code[20]; ShopifyShop: Record "Shpfy Shop"; var UnitCost: Decimal; var Price: Decimal; var ComparePrice: Decimal; var Handled: Boolean) | 20-24 | - | - |
| Integration event | OnAfterUpdateItem | (Shop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item) | 20-29 | - | - |
| Integration event | OnAfterUpdateItemVariant | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; var ItemVariant: Record "Item Variant") | 20-29 | - | - |
| Integration event | OnBeforeUpdateItem | (Shop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item; var Handled: Boolean) | 20-29 | - | - |
| Integration event | OnBeforeUpdateItemVariant | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; var ItemVariant: Record "Item Variant"; var Handled: Boolean) | 20-29 | - | - |
| Internal event | OnBeforeSendCreateShopifyProduct | (ShopifyShop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant") | 20-21 | - | - |
| Integration event | OnBeforeSendUpdateShopifyProduct | (ShopifyShop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; xShopifyProduct: Record "Shpfy Product") | 20-29 | - | - |
| Integration event | OnBeforeSendAddShopifyProductVariant | (ShopifyShop: Record "Shpfy Shop"; var ShopifyVariant: Record "Shpfy Variant") | 20-29 | - | - |
| Integration event | OnBeforeSendUpdateShopifyProductVariant | (ShopifyShop: Record "Shpfy Shop"; var ShopifyVariant: Record "Shpfy Variant"; xShopifyVariant: Record "Shpfy Variant") | 20-29 | - | - |
| Integration event | OnAfterCreateTempShopifyProduct | (Item: Record Item; var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var ShopifyTag: Record "Shpfy Tag") | 22-29 | - | - |
| Integration event | OnAfterFindItemTemplate | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var TemplateCode: Code[20]) | 22-29 | - | - |
| Integration event | OnAfterGetCommaSeparatedTags | (ShopifyProduct: Record "Shpfy Product"; var Tags: Text) | 22-29 | - | - |
| Integration event | OnBeforeFindItemTemplate | (Shop: Record "Shpfy Shop"; ShopifyProduct: Record "Shpfy Product"; ShopifyVariant: Record "Shpfy Variant"; var TemplateCode: Code[20]; var Handled: Boolean) | 22-29 | - | - |
| Integration event | OnBeforeSendCreateShopifyProduct | (ShopifyShop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var ShpfyTag: Record "Shpfy Tag") | 22-29 | - | - |
| Integration event | OnBeforeFindProductMapping | (Direction: Enum "Shpfy Mapping Direction"; var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var Item: Record Item; var ItemVariant: Record "Item Variant"; var Handled: Boolean) | 23-29 | - | - |
| Integration event | OnDoUpdateItemBeforeModify | (var ShopifyShop: Record "Shpfy Shop"; var ShopifyProduct: Record "Shpfy Product"; var Item: Record Item; var IsModifiedByEvent: Boolean) | 23-29 | - | - |
| Integration event | OnDoUpdateItemVariantBeforeModify | (var ShopifyShop: Record "Shpfy Shop"; var ShopifyVariant: Record "Shpfy Variant"; var ItemVariant: Record "Item Variant"; var IsModifiedByEvent: Boolean) | 23-29 | - | - |
| Integration event | OnAfterUpdateItemPicture | (var Item: Record Item; ImageUrl: Text; InStream: InStream) | 24-29 | - | - |
| Integration event | OnAfterFillInShopifyProductFields | (Item: Record Item; var ShopifyProduct: Record "Shpfy Product") | 24-29 | - | - |
| Integration event | OnAfterCreateProductBodyHtml | (ItemNo: Code[20]; ShopifyShop: Record "Shpfy Shop"; var ProductBodyHtml: Text; LanguageCode: Code[10]) | 25-29 | - | - |
| Integration event | OnBeforeCreateProductBodyHtml | (ItemNo: Code[20]; ShopifyShop: Record "Shpfy Shop"; var ProductBodyHtml: Text; var Handled: Boolean; LanguageCode: Code[10]) | 25-29 | - | - |
| Integration event | OnAfterCalculateUnitPrice | (Item: Record Item; VariantCode: Code[20]; UnitOfMeasure: Code[20]; ShopifyShop: Record "Shpfy Shop"; Catalog: Record "Shpfy Catalog"; var UnitCost: Decimal; var Price: Decimal; var ComparePrice: Decimal) | 25-29 | - | - |
| Integration event | OnBeforeCalculateUnitPrice | (Item: Record Item; VariantCode: Code[20]; UnitOfMeasure: Code[20]; ShopifyShop: Record "Shpfy Shop"; Catalog: Record "Shpfy Catalog"; var UnitCost: Decimal; var Price: Decimal; var ComparePrice: Decimal; var Handled: Boolean) | 25-29 | - | - |
| Integration event | OnAfterCreateTempShopifyVariant | (Item: Record Item; var ShopifyVariant: Record "Shpfy Variant") | 26-29 | - | - |
| Integration event | OnAfterProductsToSynchronizeFiltersSet | (var ShopifyProduct: Record "Shpfy Product"; Shop: Record "Shpfy Shop"; OnlyUpdatePrice: Boolean) | 26-29 | - | - |
| Integration event | OnBeforeUpdateProductMetafields | (ProductId: BigInteger) | 28-29 | - | - |
| Integration event | OnAfterUpdateItemVariantPicture | (var ItemVariant: Record "Item Variant"; ImageUrl: Text; InStream: InStream) | 28-29 | - | - |
| Integration event | OnAfterFillInProductVariantDataFromVariant | (var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; ItemVariant: Record "Item Variant"; ItemUnitofMeasure: Record "Item Unit of Measure"; Shop: Record "Shpfy Shop") | 28-29 | - | - |
| Integration event | OnAfterFillInProductVariantData | (var ShopifyVariant: Record "Shpfy Variant"; Item: Record Item; ItemVariant: Record "Item Variant"; Shop: Record "Shpfy Shop") | 28-29 | - | - |

## Source

Symbols: Microsoft.ShopifyConnector.symbols.ec255f57-31d0-4ca2-b751-f2fa7c745abb, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at ad459712441b2fe6cb0cf1c560563f8ec7188a93.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
