Article


Describes an article.

account_owner

Returns true if the author is the owner of the store.

author

Returns the full name of the author.

blog

Returns the associated blog.

comments

Returns the published comments of this article. Returns an empty array if comments are disabled.

comments_are_enabled

Returns true if commenting is enabled for this article.

comments_count

Returns the number of published comments to this article.

comments_require_account

Returns true if commenting requires customer account.

comments_require_approval

Returns true if commenting is moderated for this article.

content

Get the content of this article.

created_at

Returns the timestamp when the article was published.

handle

Retrieve a handle for this article.

header_image

Retrieve the assosiated header image URL for this article.

id

Get the identifier for this article.

is_published

Tells whether this post is published or not. In design mode unpublished articles are visible.

seo_description

Returns description for search engines.

seo_keywords

Returns keywords for search engines.

seo_title

Returns title for search engines.

summary

Returns the summary (max. 140 characters) for this article.

title

Returns the title.

updated_at

Returns the timestamp when the article was updated or modified.

user

Returns information about the article’s author.