Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Shopify Page API 2026: Pages, Blog Posts & Navigation Menus with GraphQL in Your App

Shopify page API tutorial (2026): publish online store content from your own Shopify app with the GraphQL Admin API - create pages, add them to a navigation menu without losing dropdowns, create a blog and publish a post, then see all of it on the real storefront. Shopify app development series, episode 11 - everything shown is real, nothing skipped. What you'll learn Scopes write_content +…

The Shopify Page API tutorial from 2026 demonstrates how to publish online store content from a custom Shopify app using GraphQL. The episode covers creating pages, adding them to a navigation menu, and publishing a blog post, all of which appear immediately on the storefront without breaking existing dropdowns.

Three key takeaways are outlined:

1. The GraphQL Admin API is used for creating pages, blog posts, and menus.

2. There are new scopes introduced: "write_content" for pages and blogs, and "write_online_store_navigation" for menus.

3. The "menuUpdate" mutation replaces the entire menu with the items you provide, rather than adding items one by one.

The tutorial shows how to:

- Create a simple page with a title, body in HTML, and an optional publication status.

- Add the newly created page to a custom menu in the store's header.

- Publish a blog post called "Style notes" within a "Style notes" blog, specifying the author and tags.

- Demonstrate that pages and posts are live on the storefront seconds after creation.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Zero-Dependency OpenXML (.xlsx) in Node.js Without Corrupting Excel Styles

If you have ever needed to export a multi-sheet .xlsx spreadsheet with formatted currency headers and live formulas ( SUM , ROUND , IFERROR ) from a lightweight Node.js script, pulling in a…

  • .xlsx files are ZIP archives with UTF-8 XML files adhering to ECMA-376 OpenXML standards
  • Node.js script creates .xlsx files with zero npm spreadsheet dependencies, 150 lines of code
  • Cell data serialized into XML format with special handling for formulas and number formats

More from Saturday, 28 November 2026 →