---
title: "Codeunit 30176 Shpfy Product API"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/
type: codeunit
id: 30176
name: "Shpfy Product API"
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/30176-shpfy-product-api/source/?v=27 https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/source/?v=28 https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/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 30176 Shpfy Product API

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/

| | |
| --- | --- |
| 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/30176-shpfy-product-api/editions.json) |
| Access | Internal |
| Source file | src/Products/Codeunits/ShpfyProductAPI.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateShopifyProductImage | (Product: Record "Shpfy Product"; Item: Record Item) | BigInteger | internal | 20-29 | - | - |
| CreateProduct | (var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant") | - | internal | 20-21 | - | - |
| CreateProductImageAsJson | (Item: Record Item; ProductId: BigInteger; ImageId: BigInteger) | JsonObject | internal | 20-21 | - | - |
| RetrieveShopifyProduct | (var ShopifyProduct: Record "Shpfy Product") | Boolean | internal | 20-29 | - | - |
| RetrieveShopifyProductIds | (var ProductIds: Dictionary of [BigInteger, DateTime]; NumberOfRecords: Integer) | - | internal | 20-29 | - | - |
| RetrieveShopifyProductImages | (var ProductImages: Dictionary of [BigInteger, Dictionary of [BigInteger, Text]]) | - | internal | 20-29 | - | - |
| SetShop | (Code: Code[20]) | - | internal | 20-29 | - | - |
| SetShop | (ShopifyShop: Record "Shpfy Shop") | - | internal | 20-29 | - | - |
| UpdateProduct | (var ShopifyProduct: Record "Shpfy Product"; var xShopifyProduct: Record "Shpfy Product") | - | internal | 20-29 | - | - |
| UpdateShopifyProductFields | (var ShopifyProduct: Record "Shpfy Product"; JProduct: JsonObject) | Boolean | internal | 20-29 | - | - |
| CreateProduct | (var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var ShopifyTag: Record "Shpfy Tag") | BigInteger | internal | 22-29 | - | - |
| UpdateProductImage | (Parameters: Dictionary of [Text, Text]) | Boolean | internal | 23-29 | - | - |
| UpdateShopifyProductImage | (Product: Record "Shpfy Product"; Item: Record Item; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer) | BigInteger | internal | 23-29 | - | - |
| UpdateProductStatus | (ShopifyProduct: Record "Shpfy Product"; Status: Enum "Shpfy Product Status") | - | internal | 23-29 | - | - |
| CheckShopifyProductImageExists | (ProductId: BigInteger; ImageId: BigInteger) | Boolean | internal | 25-29 | - | - |
| GetProductOptions | (ShopifyProductId: BigInteger) | Dictionary | internal | 25-29 | - | - |
| PublishProduct | (ShopifyProduct: Record "Shpfy Product") | - | internal | 25-29 | - | - |
| UpdateProductOption | (ProductId: BigInteger; OptionId: BigInteger; NewOptionName: Text) | - | internal | 25-29 | - | - |
| CreateImageUploadUrl | (var Url: Text; var ResourceUrl: Text; var TenantMedia: Record "Tenant Media") | Boolean | internal | 28-29 | - | - |
| UpdateShopifyProductImage | (ProductId: BigInteger; ImageId: BigInteger; TenantMedia: Record "Tenant Media"; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer) | BigInteger | internal | 28-29 | - | - |
| UploadShopifyImage | (var TenantMedia: Record "Tenant Media"; var ResourceUrl: Text) | Boolean | internal | 28-29 | - | - |
| UpdateProductWithNewImage | (ProductId: BigInteger; ResourceUrl: Text) | BigInteger | internal | 28-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Internal event | OnBeforeUploadImage | (var TenantMedia: Record "Tenant Media"; var ResourceUrl: Text; var IsTestInProgress: Boolean) | 28 | - | - |

## 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.
