How To Send Data From Checkout UI Extension to Backend?

Joy_Matubber
Shopify Partner
23 0 1

For an app, I need to send some data in the backend from the Checkout UI Extension to store them in the app database. I'm using the Shopify Remix template. How can I send data in backend?

Reply 1 (1)

Darshanmandasa
Shopify Partner
3 0 0

Hello,

I  just want to fetch data from my backend  to customer ui extension on profile target  so how can i do that thing.

When I used npm run dev command, I used the tab which created the url accordingly but I am getting 302 status code which is redirecting me to the login page while I have also passed the session token in the header.
Please see the screenshot below of my code

Darshanmandasa_0-1707373179589.png


also see the screenshot below of my response

Darshanmandasa_1-1707373229765.png


Thank you