Codeunit 30290 Shpfy Catalog API

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 476 lines

src/Apps/W1/Shopify/App/src/Catalogs/Codeunits/ShpfyCatalogAPI.Codeunit.allines 14 to 29 of 476, Copyright (c) Microsoft Corporation. MIT

codeunit 30290 "Shpfy Catalog API"{    Access = Internal;    var        Shop: Record "Shpfy Shop";        CommunicationMgt: Codeunit "Shpfy Communication Mgt.";        JsonHelper: Codeunit "Shpfy Json Helper";        SkippedRecord: Codeunit "Shpfy Skipped Record";        CatalogType: Enum "Shpfy Catalog Type";        ShopifyCatalogURLLbl: Label 'https://admin.shopify.com/store/%1/catalogs/%2/editor', Comment = '%1 - Shop Name, %2 - Catalog Id', Locked = true;        ShopifyMarketCatalogURLLbl: Label 'https://admin.shopify.com/store/%1/settings/markets/%2/pricing', Comment = '%1 - Shop Name, %2 - Market Catalog Id', Locked = true;        ShopifyUnifiedMarketCatalogURLLbl: Label 'https://admin.shopify.com/store/%1/catalogs/%2/editor', Comment = '%1 - Shop Name, %2 - Catalog Id', Locked = true;        CatalogNotFoundLbl: Label 'Catalog is not found.';        CurrencyMismatchLbl: Label 'Catalog currency does not match with Shopify. Reimport the catalog.';

All 476 lines

Procedures 24

ProcedureVersions
internal CreateCatalog(ShopifyCompany: Record "Shpfy Company")24 to 25
internal CreatePublication(var Catalog: Record "Shpfy Catalog")new in 24
internal CreatePriceList(var Catalog: Record "Shpfy Catalog")new in 24
internal GetCatalogs(ShopifyCompany: Record "Shpfy Company")new in 24
internal GetCatalogPrices(CatalogId: BigInteger; var TempCatalogPrice: Record "Shpfy Catalog Price" temporary)24 to 25
internal AddUpdatePriceGraphQL(var TempCatalogPrice: Record "Shpfy Catalog Price" temporary; Price: Decimal; CompareAtPrice: Decimal; var JSetPrice: JsonObject): Booleannew in 24
internal UpdatePrice(JGraphQL: JsonObject; PriceListId: BigInteger)new in 24
internal UpdatePriceGraphQL(var JGraphQL: JsonObject; var JSetPrices: JsonArray)new in 24
internal ExtractShopifyCatalogPrices(var TempCatalogPrice: Record "Shpfy Catalog Price" temporary; ProductList: List of [BigInteger]; JResponse: JsonObject; var Cursor: Text): Booleannew in 24
internal ExtractShopifyCatalogs(var ShopifyCompany: Record "Shpfy Company"; JResponse: JsonObject; var Cursor: Text): Booleannew in 24
internal GetIncludedProductsInCatalog(CatalogId: BigInteger; var ProductList: List of [BigInteger])24 to 25
internal ExtractShopifyCatalogProducts(var ProductList: List of [BigInteger]; JResponse: JsonObject; var Cursor: Text): Boolean24 to 25
internal GetCatalogProductsURL(CatalogId: BigInteger): Textnew in 24
internal SetShop(ShopifyShop: Record "Shpfy Shop")new in 24
internal CreateCatalog(ShopifyCompany: Record "Shpfy Company"; Customer: Record Customer)new in 26
internal GetCatalogPrices(Catalog: Record "Shpfy Catalog"; var TempCatalogPrice: Record "Shpfy Catalog Price" temporary)new in 26
internal GetIncludedProductsInCatalog(Catalog: Record "Shpfy Catalog"; var ProductList: List of [BigInteger])new in 26
internal ExtractShopifyCatalogProducts(var ProductList: List of [BigInteger]; JResponse: JsonObject; Catalog: Record "Shpfy Catalog"; var Cursor: Text): Booleannew in 26
internal CreateCatalog(LocationId: BigInteger; CatalogName: Text[500]; ShopifyCompany: Record "Shpfy Company"; Customer: Record Customer)new in 27
internal GetMarketCatalogs()new in 27

All 24 procedures

Changes 6 in 27

List17181920212223242526272829
Procedures86
internal CreateCatalog(LocationId: BigInteger; CatalogName: Text[500]; ShopifyCompany: Record "Shpfy Company"; Customer: Record Customer)new in 27
added
internal GetMarketCatalogs()new in 27
added
internal ExtractShopifyMarketCatalogs(JResponse: JsonObject; var Cursor: Text): Booleannew in 27
added
internal GetMarketsLinkedToCatalog(Catalog: Record "Shpfy Catalog")new in 27
added
internal IsUnifiedMarketsEnabled(ShopifyShop: Record "Shpfy Shop"): Booleannew in 27
added
internal SetCatalogType(ShopifyCatalogType: Enum "Shpfy Catalog Type")new in 27
added

All 14 changes in 24-29