Skip to main content
Anchor to ArticleCreatePayload

ArticleCreatePayload

payload

Return type for articleCreate mutation.

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?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.

Arguments

•ArticleCreateInput!
required

The properties of the new article.

•ArticleBlogInput

The properties of the new blog.



Was this section helpful?