{"title":"Codeunit 30176 Shpfy Product API","url":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","changedSince":"2026-09-22","source":{"feed":"https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json","package":"Microsoft.ShopifyConnector.symbols.ec255f57-31d0-4ca2-b751-f2fa7c745abb","build":"29.0.54011.55644","builds":{"20":"20.5.45456.61928","21":"21.5.53619.63803","22":"22.5.59966.64723","23":"23.5.16502.31399","24":"24.5.23489.36097","25":"25.5.30849.36072","26":"26.5.38752.40541","27":"27.5.46862.47359","28":"28.5.54151.54365","29":"29.0.54011.55644"},"code":{"27":{"url":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/source/?v=27","repo":"https://github.com/microsoft/BCApps","branch":"releases/27.x","commit":"ad459712441b2fe6cb0cf1c560563f8ec7188a93","path":"src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyProductAPI.Codeunit.al","license":"MIT"},"28":{"url":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/source/?v=28","repo":"https://github.com/microsoft/BCApps","branch":"releases/28.x","commit":"408a4cc8d3a4c54b60464cc14c964479facb9ba0","path":"src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyProductAPI.Codeunit.al","license":"MIT"},"29":{"url":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/source/","repo":"https://github.com/microsoft/BCApps","branch":"releases/29.x","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","path":"src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyProductAPI.Codeunit.al","license":"MIT"}},"note":"Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."},"object":{"type":"codeunit","id":30176,"name":"Shpfy Product API","app":"Shopify Connector","appByVersion":[{"app":"Shopify Connector","from":20}],"nameByVersion":[{"name":"Shpfy Product API","from":20}],"namespace":"Microsoft.Integration.Shopify","versions":"20-29","majors":[20,21,22,23,24,25,26,27,28,29],"countries":["W1","DE","US"],"minors":{"W1":"20.1-29.0","DE":"20.1-29.0","US":"20.1-29.0"},"minorsUrl":"https://jonas-paprotka.de/ref/codeunit/30176-shpfy-product-api/editions.json","extends":null,"extendsUrl":null,"sourceTable":null,"properties":{"access":"Internal"},"extendedBy":[],"implementedBy":[],"sourceFile":"src/Products/Codeunits/ShpfyProductAPI.Codeunit.al","obsolete":null,"obsoleteSeenFrom":null,"byVersion":{"20":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":10,"values":0},"stub":false},"21":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":10,"values":0},"stub":false},"22":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":9,"values":0},"stub":false},"23":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"24":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"25":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":16,"values":0},"stub":false},"26":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":16,"values":0},"stub":false},"27":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":16,"values":0},"stub":false},"28":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":21,"values":0},"stub":false},"29":{"app":"Shopify Connector","name":"Shpfy Product API","ns":"Microsoft.Integration.Shopify","obsolete":null,"target":"","sourceTable":"","props":{"access":"Internal"},"counts":{"fields":0,"keys":0,"methods":20,"values":0},"stub":false}},"fields":[],"keys":[],"procedures":[{"name":"CreateShopifyProductImage","sig":"(Record Shpfy Product, Record Item)","named":"(Product: Record \"Shpfy Product\"; Item: Record Item)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(Product: Record \"Shpfy Product\"; Item: Record Item)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateProduct","sig":"(var Record Shpfy Product, var Record Shpfy Variant)","named":"(var ShopifyProduct: Record \"Shpfy Product\"; var ShopifyVariant: Record \"Shpfy Variant\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"20-21","first":20,"last":21,"obsoleteSince":null,"spans":[{"from":20,"to":21,"named":"(var ShopifyProduct: Record \"Shpfy Product\"; var ShopifyVariant: Record \"Shpfy Variant\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateProductImageAsJson","sig":"(Record Item, BigInteger, BigInteger)","named":"(Item: Record Item; ProductId: BigInteger; ImageId: BigInteger)","returns":"JsonObject","kind":"procedure","access":"internal","obsolete":null,"range":"20-21","first":20,"last":21,"obsoleteSince":null,"spans":[{"from":20,"to":21,"named":"(Item: Record Item; ProductId: BigInteger; ImageId: BigInteger)","returns":"JsonObject","kind":"procedure","access":"internal","obsolete":null}]},{"name":"RetrieveShopifyProduct","sig":"(var Record Shpfy Product)","named":"(var ShopifyProduct: Record \"Shpfy Product\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ShopifyProduct: Record \"Shpfy Product\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"RetrieveShopifyProductIds","sig":"(var Dictionary, Integer)","named":"(var ProductIds: Dictionary of [BigInteger, DateTime]; NumberOfRecords: Integer)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ProductIds: Dictionary of [BigInteger, DateTime]; NumberOfRecords: Integer)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"RetrieveShopifyProductImages","sig":"(var Dictionary)","named":"(var ProductImages: Dictionary of [BigInteger, Dictionary of [BigInteger, Text]])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ProductImages: Dictionary of [BigInteger, Dictionary of [BigInteger, Text]])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"SetShop","sig":"(Code[20])","named":"(Code: Code[20])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(Code: Code[20])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"SetShop","sig":"(Record Shpfy Shop)","named":"(ShopifyShop: Record \"Shpfy Shop\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(ShopifyShop: Record \"Shpfy Shop\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateProduct","sig":"(var Record Shpfy Product, var Record Shpfy Product)","named":"(var ShopifyProduct: Record \"Shpfy Product\"; var xShopifyProduct: Record \"Shpfy Product\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ShopifyProduct: Record \"Shpfy Product\"; var xShopifyProduct: Record \"Shpfy Product\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateShopifyProductFields","sig":"(var Record Shpfy Product, JsonObject)","named":"(var ShopifyProduct: Record \"Shpfy Product\"; JProduct: JsonObject)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ShopifyProduct: Record \"Shpfy Product\"; JProduct: JsonObject)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateProduct","sig":"(var Record Shpfy Product, var Record Shpfy Variant, var Record Shpfy Tag)","named":"(var ShopifyProduct: Record \"Shpfy Product\"; var ShopifyVariant: Record \"Shpfy Variant\"; var ShopifyTag: Record \"Shpfy Tag\")","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var ShopifyProduct: Record \"Shpfy Product\"; var ShopifyVariant: Record \"Shpfy Variant\"; var ShopifyTag: Record \"Shpfy Tag\")","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateProductImage","sig":"(Dictionary)","named":"(Parameters: Dictionary of [Text, Text])","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":25,"named":"(Parameters: Dictionary of [Text, Text])","returns":"","kind":"procedure","access":"internal","obsolete":null},{"from":26,"to":29,"named":"(Parameters: Dictionary of [Text, Text])","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateShopifyProductImage","sig":"(Record Shpfy Product, Record Item, var TextBuilder, var List, Integer)","named":"(Product: Record \"Shpfy Product\"; Item: Record Item; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(Product: Record \"Shpfy Product\"; Item: Record Item; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateProductStatus","sig":"(Record Shpfy Product, Enum Shpfy Product Status)","named":"(ShopifyProduct: Record \"Shpfy Product\"; Status: Enum \"Shpfy Product Status\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(ShopifyProduct: Record \"Shpfy Product\"; Status: Enum \"Shpfy Product Status\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CheckShopifyProductImageExists","sig":"(BigInteger, BigInteger)","named":"(ProductId: BigInteger; ImageId: BigInteger)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(ProductId: BigInteger; ImageId: BigInteger)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetProductOptions","sig":"(BigInteger)","named":"(ShopifyProductId: BigInteger)","returns":"Dictionary","kind":"procedure","access":"internal","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(ShopifyProductId: BigInteger)","returns":"Dictionary","kind":"procedure","access":"internal","obsolete":null}]},{"name":"PublishProduct","sig":"(Record Shpfy Product)","named":"(ShopifyProduct: Record \"Shpfy Product\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(ShopifyProduct: Record \"Shpfy Product\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateProductOption","sig":"(BigInteger, BigInteger, Text)","named":"(ProductId: BigInteger; OptionId: BigInteger; NewOptionName: Text)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(ProductId: BigInteger; OptionId: BigInteger; NewOptionName: Text)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateImageUploadUrl","sig":"(var Text, var Text, var Record Tenant Media)","named":"(var Url: Text; var ResourceUrl: Text; var TenantMedia: Record \"Tenant Media\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(var Url: Text; var ResourceUrl: Text; var TenantMedia: Record \"Tenant Media\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateShopifyProductImage","sig":"(BigInteger, BigInteger, Record Tenant Media, var TextBuilder, var List, Integer)","named":"(ProductId: BigInteger; ImageId: BigInteger; TenantMedia: Record \"Tenant Media\"; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(ProductId: BigInteger; ImageId: BigInteger; TenantMedia: Record \"Tenant Media\"; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UploadShopifyImage","sig":"(var Record Tenant Media, var Text)","named":"(var TenantMedia: Record \"Tenant Media\"; var ResourceUrl: Text)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(var TenantMedia: Record \"Tenant Media\"; var ResourceUrl: Text)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"UpdateProductWithNewImage","sig":"(BigInteger, Text)","named":"(ProductId: BigInteger; ResourceUrl: Text)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(ProductId: BigInteger; ResourceUrl: Text)","returns":"BigInteger","kind":"procedure","access":"internal","obsolete":null}]}],"events":[{"name":"OnBeforeUploadImage","sig":"(var Record Tenant Media, var Text, var Boolean)","named":"(var TenantMedia: Record \"Tenant Media\"; var ResourceUrl: Text; var IsTestInProgress: Boolean)","returns":"","kind":"internalevent","access":"public","obsolete":null,"range":"28","first":28,"last":28,"obsoleteSince":null,"spans":[{"from":28,"to":28,"named":"(var TenantMedia: Record \"Tenant Media\"; var ResourceUrl: Text; var IsTestInProgress: Boolean)","returns":"","kind":"internalevent","access":"public","obsolete":null}]}],"values":[],"controls":[],"actions":[]}}