Skip to main content
mutation

Requires Any of write_content, write_online_store_pages access scopes.

Creates an Article. Articles are content pieces that include a title, body text, and author information.

You can publish the article immediately or schedule it with a specific publish date. You can customize the article's URL handle, apply custom templates for rendering, and add optional fields like tags, an image, and Metafield objects.

The mutation validates article content and ensures proper blog association. Error handling provides specific feedback for content requirements.

Anchor to articlearticle
•ArticleCreateInput!
required

The properties of the new article.

•ArticleBlogInput

The properties of the new blog.


Was this section helpful?

Anchor to ArticleCreatePayload returnsArticleCreatePayload returns

Anchor to articlearticle
•Article

The article that was created.

•[ArticleCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?