Convert JSON To String + Replace Chars For PDF.Co API

Got it. The answer was just to run json.stringify twice, like this:

retVal = JSON.stringify(JSON.stringify($('Shopify API Get Order').item.json));
return $retVal;
3 Likes