Using Thunder Client in VSCODE I can send a GET request using an API token I created on the advanced setting page in SS. However, when I use the js FETCH function and apply the exact same headers with the same token I get a 401 error.
My example code is below, any ideas on why the 401 error?
Add custom fields to customer or member
in Commerce
Posted
Using Thunder Client in VSCODE I can send a GET request using an API token I created on the advanced setting page in SS. However, when I use the js FETCH function and apply the exact same headers with the same token I get a 401 error.
My example code is below, any ideas on why the 401 error?