Skip to Content

article

Get a single article by ID

Authentication

Public Access: Accessible with the public API key

Query Structure

{ article(id: ID!) { id title content summary handle headerImage author blog comments commentsCount commentsAreEnabled commentsRequireAccount commentsRequireApproval isPublished accountOwner url createdAt updatedAt seoTitle seoDescription seoKeywords metafields metafield } }

Arguments

ArgumentTypeRequiredDescription
idIDYesThe ID of the article to retrieve

Return Type

Article - Represents an article object with content, author, and comment information.

Example

{ article(id: 12345) { id title content summary handle headerImage seoTitle seoDescription author { name } blog { title } comments { id content } commentsCount commentsAreEnabled isPublished url createdAt updatedAt } }