Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
Is it's possible to create a custom page handle/url (eg. https://myshopifystore.com/pages/my-page) when creating a Shopify page through the REST API?
Solved! Go to the solution
This is an accepted solution.
https://www.google.com/search?q=shopify+api+online+store+page
The dev docs
https://shopify.dev/docs/api/admin-rest/2023-10/resources/page
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Hi MBO1,
Our docs on the Page resource show an example of making a POST request to the pages.json endpoint, where you have access to the handle property that you can use to define what the page URL will be.
Hope this helps!
Liam | Developer Advocate @ 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.
https://www.google.com/search?q=shopify+api+online+store+page
The dev docs
https://shopify.dev/docs/api/admin-rest/2023-10/resources/page
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Hi MBO1,
Our docs on the Page resource show an example of making a POST request to the pages.json endpoint, where you have access to the handle property that you can use to define what the page URL will be.
Hope this helps!
Liam | Developer Advocate @ 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
Thank you, I found it eventually in the docs after I asked the question 😅