Blog object

An online store blog.

Required access

unauthenticated_read_content access scope.

Connections

  • articles (ArticleConnection!)

    List of the blog's articles.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    query ( String )

    Supported filter parameters:

    • author
    • blog_title
    • created_at
    • tag
    • updated_at

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( ArticleSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

  • metafields (MetafieldConnection!)

    A paginated list of metafields associated with the resource.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • articleByHandle (Article)

    Find an article by its handle.

    Argument Description
    handle ( String! ) required

    The handle of the article.

  • authors ([ArticleAuthor!]!)

    The authors who have contributed to the blog.

  • handle (String!)

    A human-friendly unique string for the Blog automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The blog's SEO information.

  • title (String!)

    The blogs’s title.

Types that return Blog

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the blog accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Blogs.

Fields

Types that return Blog

An auto-generated type which holds one Blog and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Blog!)

    The item at the end of BlogEdge.

Types that return Blog

An online store blog.

Required access

unauthenticated_read_content access scope.

Connections

  • articles (ArticleConnection!)

    List of the blog's articles.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    query ( String )

    Supported filter parameters:

    • author
    • blog_title
    • created_at
    • tag
    • updated_at

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( ArticleSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

  • metafields (MetafieldConnection!)

    A paginated list of metafields associated with the resource.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • articleByHandle (Article)

    Find an article by its handle.

    Argument Description
    handle ( String! ) required

    The handle of the article.

  • authors ([ArticleAuthor!]!)

    The authors who have contributed to the blog.

  • handle (String!)

    A human-friendly unique string for the Blog automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The blog's SEO information.

  • title (String!)

    The blogs’s title.

Types that return Blog

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the blog accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Blogs.

On this page

Fields

An auto-generated type which holds one Blog and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Blog!)

    The item at the end of BlogEdge.

Types that return BlogEdge

An online store blog.

Required access

unauthenticated_read_content access scope.

Connections

  • articles (ArticleConnection!)

    List of the blog's articles.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    query ( String )

    Supported filter parameters:

    • author
    • blog_title
    • created_at
    • tag
    • updated_at

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( ArticleSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

  • metafields (MetafieldConnection!)

    A paginated list of metafields associated with the resource.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • articleByHandle (Article)

    Find an article by its handle.

    Argument Description
    handle ( String! ) required

    The handle of the article.

  • authors ([ArticleAuthor!]!)

    The authors who have contributed to the blog.

  • handle (String!)

    A human-friendly unique string for the Blog automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • onlineStoreUrl (URL)

    The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

  • seo (SEO)

    The blog's SEO information.

  • title (String!)

    The blogs’s title.

Types that return Blog

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the blog accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Blogs.

On this page

Fields

An auto-generated type which holds one Blog and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Blog!)

    The item at the end of BlogEdge.

Types that return BlogEdge

An online store blog.

Required access

unauthenticated_read_content access scope.

Connections

  • articles (ArticleConnection!)

    List of the blog's articles.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    query ( String )

    Supported filter parameters:

    • author
    • blog_title
    • created_at
    • tag
    • updated_at

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( ArticleSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

  • metafields (MetafieldConnection!)

    A paginated list of metafields associated with the resource.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Container for a set of metafields (maximum of 20 characters).

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • articleByHandle (Article)

    Find an article by its handle.

    Argument Description
    handle ( String! ) required

    The handle of the article.

  • authors ([ArticleAuthor!]!)

    The authors who have contributed to the blog.

  • handle (String!)

    A human-friendly unique string for the Blog automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • metafield (Metafield)

    Returns a metafield found by namespace and key.

    Argument Description
    key ( String! ) required

    Identifier for the metafield (maximum of 30 characters).

    namespace ( String! ) required

    Container for a set of metafields (maximum of 20 characters).

  • seo (SEO)

    The blog's SEO information.

  • title (String!)

    The blogs’s title.

Types that return Blog

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the blog accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Blogs.

On this page

Fields

An auto-generated type which holds one Blog and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Blog!)

    The item at the end of BlogEdge.

Types that return BlogEdge

An online store blog.

Required access

unauthenticated_read_content access scope.

Connections

  • articles (ArticleConnection!)

    List of the blog's articles.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    query ( String )

    Supported filter parameters:

    • author
    • blog_title
    • created_at
    • tag
    • updated_at

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( ArticleSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

Fields

  • articleByHandle (Article)

    Find an article by its handle.

    Argument Description
    handle ( String! ) required

    The handle of the article.

  • authors ([ArticleAuthor!]!)

    The authors who have contributed to the blog.

  • handle (String!)

    A human-friendly unique string for the Blog automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • seo (SEO)

    The blog's SEO information.

  • title (String!)

    The blogs’s title.

Types that return Blog

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the blog accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Blogs.

On this page

Fields

An auto-generated type which holds one Blog and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Blog!)

    The item at the end of BlogEdge.

Types that return BlogEdge

An online store blog.

Required access

unauthenticated_read_content access scope.

Connections

  • articles (ArticleConnection!)

    List of the blog's articles.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    query ( String )

    Supported filter parameters:

    • author
    • blog_title
    • created_at
    • tag
    • updated_at

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( ArticleSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

Fields

  • articleByHandle (Article)

    Find an article by its handle.

    Argument Description
    handle ( String! ) required

    The handle of the article.

  • authors ([ArticleAuthor!]!)

    The authors who have contributed to the blog.

  • handle (String!)

    A human-friendly unique string for the Blog automatically generated from its title.

  • id (ID!)

    A globally-unique identifier.

  • seo (SEO)

    The blog's SEO information.

  • title (String!)

    The blogs’s title.

Types that return Blog

Implements

Deprecated fields

  • url (URL!) deprecated

    The url pointing to the blog accessible from the web.

    Deprecation warning

    Use onlineStoreUrl instead

An auto-generated type for paginating through multiple Blogs.

On this page

Fields

An auto-generated type which holds one Blog and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (Blog!)

    The item at the end of BlogEdge.

Types that return BlogEdge