Integrating Shopify Private App with Netsuite

Integrating Shopify Private App with Netsuite

I couldn’t find this in the shopify documentation so I thought it would be helpful to share it.

Backstory:
I was trying to get the JSON from Shopify Private App and I was getting this error:

[API] Invalid API key or access token (unrecognized login or wrong password)

After much research all I needed to do was add header “X-Shopify-Access-Token”.

Here’s the code, just make sure to replace HTTPSMODULE or load with the Netsuite https Module.