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 |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By