GraphQL API Get preview link for unpublished pages, blog and articles

kanhaiya15
New Member
2 0 0

I see there is GraphQL API to get products onlineStorePreviewUrl. Could you help me to get onlineStorePreviewUrl for Pages , Blogs and Articles.

0 Likes
oneluca
Tourist
9 1 4

Any updates on this? So far it seems like there is only a preview option for product pages via the GraphQL API.

0 Likes
L_J_K
Shopify Staff
Shopify Staff
257 31 39

Hey @kanhaiya15@oneluca 

Presently, only the products resource can be queried for onlineStorePreviewUrl via the GraphQL API. Noted,  I see the benefit of including it on Pages, Blogs and Articles, and I've passed this feedback onto our Product team. Hope that clarifies things for you.

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes
oneluca
Tourist
9 1 4

Thanks for the update!

0 Likes