skip to Main Content

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")…

VIEW QUESTION

"App proxy" send request to my "shopify shop" instead of my application ? [Shopify]

Whenever I send a request to my server App proxy sends it to Shopify store for no reason. My Proxy URL: https://example.com/test/public/action But I get this request returned from Ajax GET https://apiahmadztest.myshopify.com/action?shop=apiahmadztest.myshopify.com&path_prefix=%2Fapps%2Ffilter&timestamp=155579128&signature=9ceb23e244545faf5ad65f36b1196e6cfba57c9088a7d7dde96978970d 404 (Not Found) Why it didn't send it…

VIEW QUESTION
Back To Top
Search