New Shopify Certification now available: Liquid Storefronts for Theme Developers

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
Shopify Staff
402 66 95

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!