Shopify API Cross Domain Ajax Request
I am using the below code to get the customer details from shopify. I have redirected my domain to the other domain from the shopify admin. function setEmailWithLoggedInUser(callback) { $.ajax({ url: 'https://new-website-shopify.myshopify.com/admin/customers/'+__st.cid+'.json', crossDomain: true, beforeSend: function(xhr) { xhr.setRequestHeader("Authorization", "Basic XXXXXXXXXXXX")…