Development discussions around Shopify APIs
Hello there,
I'm creating an app in Shopify and for Contact Us link I want shopify store's contact us page url? How can I get it? Also I want the contact form id property value. Is there any API like Pages api which I can use?
Any help would be appreciated.
I assume that in most cases the contact page is a Page resource, so you'd use the pages API as you implied: https://help.shopify.com/en/api/reference/online-store/page
From that you could infer the contact page by name, use the handle to construct the URL (shop.myshopify.com/pages/contact-page), and get the ID.
Cheers.
Alex | 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 the Shopify Help Center or the Shopify Blog
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
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