Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
New to Shopify apps. Wondering how to collect the exported orders IDs from a bulk action link that is sent to my embedded app (created following Shopify's Node, React and GraphQL tutorial). Thanks
Solved! Go to the solution
This is an accepted solution.
They're appended as URL parameters, for example:
https://some-app.com?shop=...&ids[]=1234&ids[]=1235
To read these in your Koa app, look inside ctx.query:
router.post('/example', (ctx) => { console.log(ctx.query) })
Scott | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
They're appended as URL parameters, for example:
https://some-app.com?shop=...&ids[]=1234&ids[]=1235
To read these in your Koa app, look inside ctx.query:
router.post('/example', (ctx) => { console.log(ctx.query) })
Scott | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Iam new here
where should we use this script (inside which file ), is there more detailed examples ?
User | RANK |
---|---|
5 | |
5 | |
4 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022