Codeunit 30221 Shpfy GQL UpdateProductImage

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 29 lines

src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGQLUpdateProductImage.Codeunit.allines 8 to 23 of 29, Copyright (c) Microsoft Corporation. MIT

codeunit 30221 "Shpfy GQL UpdateProductImage" implements "Shpfy IGraphQL"{    Access = Internal;    /// <summary>    /// GetGraphQL.    /// </summary>    /// <returns>Return value of type Text.</returns>    internal procedure GetGraphQL(): Text    begin        exit('{"query": "mutation { productUpdateMedia(media: {id: \"gid://shopify/MediaImage/{{ImageId}}\" previewImageSource: \"{{ResourceUrl}}\"}, productId: \"gid://shopify/Product/{{ProductId}}\") { media { ...mediaFieldsByType } mediaUserErrors {code field message}}} fragment mediaFieldsByType on Media { ... on MediaImage { id }}"}');    end;    /// <summary>    /// GetExpectedCost.    /// </summary>

All 29 lines

Procedures 2

ProcedureVersions
internal GetGraphQL(): Text22 to 28
internal GetExpectedCost(): Integer22 to 28