Anchor to articleCreatearticle
mutationarticle Create
Requires Any of , 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 Arguments
Arguments
- article (ArticleCreateInput!)
- blog (ArticleBlogInput)
- Anchor to articlearticle•Article
Create Input! required The properties of the new article.
- Anchor to blogblog•Article
Blog Input The properties of the new blog.
Was this section helpful?
- article (Article)
- userErrors ([ArticleCreateUserError!]!)
- Anchor to articlearticle•Article
The article that was created.
- Anchor to userErrorsuser•[Article
Errors Create User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?