Codeunit 30451 Shpfy GQL AddImageToProduct
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;}Public procedures 2 in 28
| Get | 28 to 28 |
| Get | 28 to 28 |