Use a call to *windx.utl. For example:
call"[wdx]*windx.utl;get_val","ENV(""SSI_BASE"")",VAL$
PRINT VAL$
call"[wdx]*windx.utl;get_val","ENV(""SSI_BASE"")",VAL$
PRINT VAL$
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu{"query":"mutation { productVariantsBulkUpdate(productId: \"gid://shopify/Product/4353068859479\", variants:[{id:\"gid://shopify/ProductVariant/31174618611799\",barcode:\"190496879522\"}]) { product { id } productVariants { id barcode } userErrors { field message } } }"}
0010 BEGIN
0020 LET gid$="gid://shopify/Product/4353068859479"
0030 LET j$["variants.1.id"]="gid://shopify/ProductVariant/31174618611799",j$["variants.1.barcode"]="190496879522"
0040 ! LET j$["variants.2.id"]="gid://shopify/ProductVariant/31174618611799",j$["variants.2.barcode"]="190496879522" ! Additional variants to update
0050 LET v$=DIM(LIST j${ALL})
0060 DIM r$[1:3]; READ DATA FROM "variants,id,barcode,",SEP="," TO r${ALL}; FOR i=1 TO 3; LET v$=SUB(v$,QUO+r$[i]+QUO+":",r$[i]+":"); NEXT i; LET v$=MID(v$,2,LEN(v$)-2) ! Remove the quotes from around the field names since GQL doesn't use them like JSON does
0070 LET query$="mutation { productVariantsBulkUpdate(productId: """+gid$+""", "+v$+") { product { id } productVariants { id barcode } userErrors { field message } } }"
0080 LET qry$["query"]=query$; LET post$=DIM(LIST qry${ALL}); DIM qry$
0090 PRINT post$