Description
Topic: Categories
Fields
ancestors: [CategoryAncestor!]!
Category ancestors
content_image_files: [StorefrontFile]
Image files referenced by "raw_content".
Translatable
Expandable
Permission bit: "files.read"
The date and time when the category 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!]!
States whether or not the category is featured
Example: false
An URL-friendly unique string for the category automatically generated from its title
Example: "ipods"
Whether category has children or not
Example: false
Unique category identifier. See also: Unique Identifiers
Example: "ca_EQzGqWoY"
image_files: [StorefrontFile]
Images files for this category
Translatable
Expandable
Permission bit: "files.read"
Meta description for SEO purposes
Translatable
SEO-friendly title of the category
Translatable
Whether server thinks category is published or not (depends on server time)
Example: false
The date and time when the category was published or null
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Raw content of the category
Translatable
Example: "{}"
sort_order: CategorySortOrder!
The default order in which products in the category appear
The name of the category
Translatable
Example: "IPods"
The date and time when the category was last updated, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Used By
Queries
Types
StorefrontCategoryCount, StorefrontCategoryExpandableItems, StorefrontCustomFieldObjects, StorefrontMenuItem, StorefrontProduct
Preview (typescript)
interface StorefrontCategory {ancestors: []content_image_files?: ( | null)[]created_at: stringcustom_field_objects?: | nullcustom_fields: []featured: booleanhandle: stringhas_children: booleanid: stringimage_files?: ( | null)[]meta_description: stringmeta_title: stringpublished: booleanpublished_at?: stringraw_content: stringsort_order:title: stringupdated_at: string}