---
title: "blog"
description: "Connect to the via the blog query"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/online-store/queries/blog'
  md: 'https://developer.shopline.com/docs/storefront-api/online-store/queries/blog.md'
---
# blog

Connect to the via the blog query

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Query

## Type Signature

`Blog`

## Arguments

* `handle`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Boke from blog

* `id`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  Id for blog sets

## Returns

* `articleByHandle`

  [Article](https://developer.shopline.com/docs/storefront-api/online-store/objects/article.md)

  Get blog posts via handle

* `author`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Blog collection author

* `handle`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Boke from the blog collection

* `id`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  Id from blog collection

* `onlineStoreUrl`

  [URL](https://developer.shopline.com/docs/storefront-api/common/scalars/url.md)

  Visit the store address for this resource

* `seo`

  [SEO](https://developer.shopline.com/docs/storefront-api/common-objects/objects/seo.md)

  seo

* `title`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Blog post title

## Code Example

```graphql
 {
	blog(handle, id ) 
		 {
			# Blog fields
		}
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

