Types > StorefrontContentBlock
Storefront APITypesStorefrontContentBlock
StorefrontContentBlock

Description

Topic: Content Blocks

Fields

author: String!

The name of the person who created the content block

Example: "Lydia"


content_image_files: [StorefrontFile]

Image files referenced by "raw_content".

Translatable

Expandable

Permission bit: "files.read"


created_at: String!

The date and time when the content block was created, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


custom_field_objects: StorefrontCustomFieldObjects

Custom field objects extracted and ready for expansion

Translatable


custom_fields: [CustomField!]!


handle: String!

An URL-friendly unique string for the content block automatically generated from its title

Example: "terms-of-services"


id: String!

Unique content block identifier. See also: Unique Identifiers

Example: "bl_EQzGqWoY"


is_page: Boolean!

Whether this content block is a page or not (available through router path)

Example: true


meta_description: String!

Meta description for SEO purposes

Translatable

Example: ""


meta_title: String!

SEO-friendly title of the content block

Translatable

Example: ""


published_at: String

The date and time when the content block was published or null

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


raw_content: String!

Raw content of the content block

Translatable

Example: "{}"


title: String!

The title of the content block

Translatable

Example: "Terms of Services"


updated_at: String!

The date and time when the content block was last updated, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


Used By

Queries

storefrontContentBlocks

Types

StorefrontContentBlockPage, StorefrontCustomFieldObjects, StorefrontMenuItem

Preview (typescript)

Loading module