Development discussions around Shopify APIs
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
thanks!
Iam new here
where should we use this script (inside which file ), is there more detailed examples ?
User | RANK |
---|---|
10 | |
5 | |
3 | |
3 | |
3 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023