Skip to main content
Anchor to ArticleCreatePayload

ArticleCreatePayload

payload

Return type for articleCreate mutation.

Anchor to articlearticle
•Article

The article that was created.

Show fields
•[ArticleCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

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.

Show payload

Arguments

•ArticleCreateInput!
required

The properties of the new article.

Show input fields
•ArticleBlogInput

The properties of the new blog.

Show input fields


Was this section helpful?