Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 47a98ac

Browse files
authored
Merge pull request #8584 from magento/kh_missing-attributes
GraphQL: Update schema to include undocumented changes
2 parents f03cdc4 + 78955c7 commit 47a98ac

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/_includes/graphql/store-config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Attribute | Data Type | Description | Default or example value
2525
`cms_no_cookies` | String | Identifies a specific CMS page that appears when cookies are not enabled for the browser | `enable-cookies`
2626
`cms_no_route` | String | Identifies a specific CMS page that you want to appear when a 404 “Page Not Found” error occurs | `no-route`
2727
`code` | String | Deprecated. Use `store_code` instead. A unique identifier for the store | `default`
28+
`configurable_thumbnail_source` | String | Determines which thumbnail should be used in the cart for configurable products. Possible values: `parent` or `itself` (child) | `parent`
2829
`copyright` | String | The copyright statement that appears at the bottom of each page | Copyright © 2013-present Magento, Inc. All rights reserved.
2930
`default_description` | String | The description that provides a summary of your site for search engine listings and should not be more than 160 characters in length | null
3031
`default_display_currency_code` | String | The code representing the currency displayed on the store | `USD`

src/guides/v2.4/graphql/interfaces/category-interface.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Attribute | Type | Description
1616
`breadcrumbs` | [Breadcrumb] | A Breadcrumb object contains information the categories that comprise the breadcrumb trail for the specified category
1717
`canonical_url` | String | The relative canonical URL. This value is returned only if the system setting **Use Canonical Link Meta Tag For Categories** is enabled
1818
`cms_block` | CmsBlock | Contains a category CMS block. This attribute is defined in the `CatalogCmsGraphQl` module
19-
`created_at` | String | Timestamp indicating when the category was created
19+
`created_at` | String | Deprecated. This field should not be used on the storefront. Timestamp indicating when the category was created
2020
`default_sort_by` | String | The attribute to use for sorting
2121
`description` | String | An optional description of the category
2222
`id` | Int | Deprecated. Use `uid` instead. An ID that uniquely identifies the category
@@ -29,7 +29,7 @@ Attribute | Type | Description
2929
`products(<attributes>)` | CategoryProducts | The list of products assigned to the category
3030
`staged` | Boolean! | Indicates whether the category is staged for a future campaign
3131
`uid` | ID! | The unique ID for an object implementing `CategoryInterface`
32-
`updated_at` | String | Timestamp indicating when the category was updated
32+
`updated_at` | String | Deprecated. This field should not be used on the storefront. Timestamp indicating when the category was updated
3333
`url_key` | String | The URL key assigned to the category
3434
`url_path` | String | The URL path assigned to the category
3535

src/guides/v2.4/graphql/interfaces/product-interface.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ The following table defines the `ProductInterface` attributes and objects.
2525

2626
Attribute | Data type | Description
2727
--- | --- | ---
28-
`attribute_set_id` | Int | The attribute set assigned to the product
28+
`attribute_set_id` | Int | Deprecated. This field should not be used on the storefront. The attribute set assigned to the product
2929
`canonical_url` | String | The relative canonical URL. This value is returned only if the system setting **Use Canonical Link Meta Tag For Products** is enabled
3030
`categories` | [[CategoryInterface]]({{ page.baseurl }}/graphql/interfaces/category-interface.html) | The categories assigned to the product. See [CategoryInterface attributes]({{ page.baseurl }}/graphql/interfaces/category-interface.html) for more information
3131
`country_of_manufacture` | String | The product's country of origin
32-
`created_at` | String | Timestamp indicating when the product was created
32+
`created_at` | String | Deprecated. This field should not be used on the storefront. Timestamp indicating when the product was created
3333
`crosssell_products` | [ProductInterface] | An array of cross-sell products
3434
`description` | ComplexTextValue | An object that contains detailed information about the product. The object can include simple HTML tags
3535
`gift_message_available` | String | Indicates whether a gift message is available
@@ -43,8 +43,8 @@ Attribute | Data type | Description
4343
`meta_keyword` | String | A comma-separated list of keywords that are visible only to search engines
4444
`meta_title` | String | A string that is displayed in the title bar and tab of the browser and in search results lists
4545
`name` | String | The product name. Customers use this name to identify the product.
46-
`new_from_date` | String | The beginning date for new product listings, and determines if the product is featured as a new product
47-
`new_to_date` | String | The end date for new product listings
46+
`new_from_date` | String | Deprecated. This field should not be used on the storefront. The beginning date for new product listings, and determines if the product is featured as a new product
47+
`new_to_date` | String | Deprecated. This field should not be used on the storefront. The end date for new product listings
4848
`only_x_left_in_stock` | Float | The "Only X left Threshold" assigned to the product. This attribute is defined in the `InventoryGraphQl` module.
4949
`options_container` | String | If the product has multiple options, determines where they appear on the product page
5050
`price` | ProductPrices | Deprecated. Use `price_range` instead
@@ -58,7 +58,7 @@ Attribute | Data type | Description
5858
`short_description` | ComplexTextValue | An object that contains a short description of the product. Its use depends on the store's theme. The object can include simple HTML tags
5959
`sku` | String | A number or code assigned to a product to identify the product, options, price, and manufacturer
6060
`small_image` | [ProductImage](#ProductImage) | An object that contains the URL and label for the small image used on catalog pages
61-
`special_from_date` | String | The beginning date that a product has a special price
61+
`special_from_date` | String | Deprecated. This field should not be used on the storefront. The beginning date that a product has a special price
6262
`special_price` | Float | The discounted price of the product
6363
`special_to_date` | String | The end date that a product has a special price
6464
`staged` | Boolean! | Indicates whether the product is staged for a future campaign
@@ -70,7 +70,7 @@ Attribute | Data type | Description
7070
`tier_prices` | [ProductTierPrices] | Deprecated. Use `price_tiers` instead
7171
`type_id` | String | Deprecated. Use the GraphQL `__typename` meta attribute instead
7272
`uid` | ID! | The unique ID for objects implementing `ProductInterface`
73-
`updated_at` | String | The timestamp indicating when the product was last updated
73+
`updated_at` | String | Deprecated. This field should not be used on the storefront. The timestamp indicating when the product was last updated
7474
`upsell_products` | [ProductInterface] | An array of up-sell products
7575
`url_key` | String | The part of the URL that identifies the product. This attribute is defined in the `CatalogUrlRewriteGraphQl` module
7676
`url_path` | String | Deprecated. Use `canonical_url` instead

0 commit comments

Comments
 (0)