fast-artist-45202
10/26/2022, 3:30 PMcy.request({
method: "GET",
url: "https://my.api.site/customers/me",
}).then((response) => {
console.log(response.body.data.attributes.customerId);
});
It's printing the Id properly, so I can go from there and assign the value to a variable. Didn't realize I had to chain every layer of the response body, but now I do