Codeunit 30146 Shpfy GQL ProductById

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 34 lines

src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGQLProductById.Codeunit.allines 11 to 26 of 34, Copyright (c) Microsoft Corporation. MIT

codeunit 30146 "Shpfy GQL ProductById" implements "Shpfy IGraphQL"{    Access = Internal;    /// <summary>    /// GetGraphQL.    /// </summary>    /// <returns>Return value of type Text.</returns>    internal procedure GetGraphQL(): Text    begin        exit('{"query":"{product(id: \"gid://shopify/Product/{{ProductId}}\") {createdAt updatedAt hasOnlyDefaultVariant description(truncateAt: {{MaxLengthDescription}}) descriptionHtml onlineStorePreviewUrl onlineStoreUrl productType status tags title vendor seo{description, title} metafields(first: 50) {edges {node {id namespace type legacyResourceId key value}}}}}"}');    end;    /// <summary>    /// GetExpectedCost.    /// </summary>

All 34 lines

Procedures 2

ProcedureVersions
internal GetGraphQL(): Text20 to 28
internal GetExpectedCost(): Integer20 to 28