Codeunit 30451 Shpfy GQL AddImageToProduct

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 24 lines

src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGQLAddImageToProduct.Codeunit.allines 10 to 24 of 24, Copyright (c) Microsoft Corporation. MIT

codeunit 30451 "Shpfy GQL AddImageToProduct" implements "Shpfy IGraphQL"{    Access = Internal;    procedure GetGraphQL(): Text    begin        exit('{"query": "mutation { productUpdate( product:{id: \"gid://shopify/Product/{{ProductId}}\"}, media: [ { originalSource: \"{{ResourceUrl}}\" mediaContentType: IMAGE } ]) { product { media(first: 1, reverse: true) { nodes{ id mediaErrors { code details message } } } } userErrors { field message } } }"}');    end;    procedure GetExpectedCost(): Integer    begin        exit(10);    end;}

All 24 lines

Public procedures 2 in 28

GetGraphQL(): Text28 to 28
GetExpectedCost(): Integer28 to 28