FROM CACHE - en_header

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

New Member
2 0 1

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

Replies 4 (4)
9 1 5

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

Shopify Staff
Shopify Staff
402 64 84

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.

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
9 1 5
Shopify Partner
1 0 0


We need to get preview url of OnlineStorePage, something new update?