Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Using HTTP Request Step in Shopify Flow to Action Shopify API

Using HTTP Request Step in Shopify Flow to Action Shopify API

Msabato
Visitor
1 0 0

This seems like it can be done but there’s no documentation I can find other than basics for using the step. What authentication would be needed? I tried creating a private app and using those credentials in the url but can’t get anything to fire.

Reply 1 (1)

Luke_K
Shopify Staff
402 66 102

Hey @Msabato 

So to successfully send that Http Request as an action via the Shopify Flow app, you'd need the following in the headers for auth.

Content-type - application/json

X-Shopify-Access-Token - your private app's basic auth password

body.png

It should work as long as those credentials are correct and the endpoint URL & request body are both valid I'd say. Hope that helps!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!