Description
Topic: Products
Fields
analytics: ProductAnalytics!
Cached product analytics data, far from realtime (updated every N hours)
Average review score, from 0 to 9 (inclusive, both ends)
Example: 7.09
average_scores: [ProductReviewAverageScore!]!
List of countries, allowed or denied depending on ban mode
ban_mode: ProductBanMode!
Ban mode for country-based banning
Example: "allow_all_but"
brand: Brand
Brand of the product
Expandable
Permission bit: "brands.read"
categories: [Category]
A set of category resource links product belongs to
Expandable
Permission bit: "categories.read"
content_image_files: [File]
Image files referenced by "raw_content".
Translatable
Expandable
Permission bit: "files.read"
The date and time when the product was created, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
custom_field_objects: CustomFieldObjects
Custom field objects extracted and ready for expansion
Translatable
custom_fields: [CustomField!]!
field_set: ProductFieldSet
Field set this product will use
Expandable
google_product_category_code: Int!
Google Product Category numeric code
Example: 499938
google_product_category_name: String!
Google Product Category human-friendly name
Example: "Toys & Games > Toys > Educational Toys > Astronomy Toys & Models"
A human-friendly unique string for the product automatically generated from its title
Example: "ipod-nano"
A unique product identifier
Example: "pd_EQzGqWoY"
inventory_summary: InventorySummary
Inventory summary if any of the product variants have inventory entries, null otherwise
Maximum of variant inventory counts
Example: 54
Maximum amount of items customer can buy within one order
Example: 100
Meta description for SEO purposes
Translatable
Example: ""
SEO-friendly title of the product
Translatable
Example: ""
min_currency_prices: [MinCurrencyPrice!]!
Minimum currency prices of all variants
min_customer_group_prices: [MinCustomerGroupPrice!]!
Minimum customer group prices of all variants
Minimum of variant inventory counts
Example: 0
Minimum price of all product variants
Example: 0
Minimum amount of items customer must order to buy a product
Example: 0
Number of customers which don't recommend this product (simple vote)
Example: 20
Whether server thinks product is published or not (depends on server time)
Example: false
The date and time when the product was published or null
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Raw content of the product
Translatable
Example: "{}"
Number of customers which don't recommend this product (reviews)
Example: 20
Number of customers which recommend this product (reviews)
Example: 150
return_mode: ProductReturnMode!
What to do if customer wants to return the product
Example: "not_allowed"
Total amount of reviews for this product
Example: 10
review_dimension_set: ReviewDimensionSet
Review dimension set this product will use
Expandable
Permission bit: "review_dimension_sets.read"
sales_channels: [SalesChannel]
A set of sales channel resource links product should be included into
Expandable
Permission bit: "sales_channels.read"
Whether this product can only be used with a subscription or not
Example: false
subscription_plans: [SubscriptionPlan!]!
Sum of variant inventory counts (only positive ones)
Example: 640
survey_answers_summary: [ProductReviewAnswerSummary!]!
Product tags (can be used for organization)
tiered_pricing_mode: TieredPricingMode!
How to apply tiered pricing
Example: "all_variants"
The name of the product
Translatable
Example: "IPod Nano - 8GB"
The date and time when the product was last updated, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
variants: [ProductVariant]
Variants of the product
Expandable
Permission bit: "product_variants.read"
Number of customers which recommend this product (simple vote)
Example: 150
Used By
Mutations
productsCreate, productsModify
Queries
Types
CustomFieldObjects, MenuItem, ProductExpandableItems, ProductPage, ProductQuestion, ProductQuestionAnswer, ProductReview, ProductReviewAnswer, ProductSearchResult, ProductVariant, PromotionCondition, ReturnPolicyCondition, UnifiedSearchResult
Preview (typescript)
Loading module