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

Commit c1fcaeb

Browse files
authored
review draft (#5426)
1 parent ed9c3e3 commit c1fcaeb

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

guides/v2.3/graphql/product/product-interface.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Attribute | Data type | Description
6262
`upsell_products` | [ProductInterface] | An array of up-sell products
6363
`url_key` | String | The part of the URL that identifies the product. This attribute is defined in the `CatalogUrlRewriteGraphQl` module
6464
`url_path` | String | Deprecated. Use `canonical_url` instead
65+
`url_suffix` | String | The part of the URL that is appended to the `url_key`, such as `.html`. This attribute is defined in the `CatalogUrlRewriteGraphQl` module
6566
`url_rewrites` | [[UrlRewrite]](#urlRewriteObject) | A list of URL rewrites
6667
`websites` | [[Website]](#websiteObject) | An array of websites in which the product is available
6768

guides/v2.3/graphql/queries/category.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Attribute | Data type | Description
4343
`updated_at`| String | Timestamp indicating when the category was updated
4444
`url_key`| String | The url key assigned to the category
4545
`url_path`| String | The url path assigned to the category
46+
`url_suffix` | String | The part of the URL that is appended to the `url_key`, such as `.html`. This attribute is defined in the `CatalogUrlRewriteGraphQl` module
4647

4748
#### CategoryProducts object
4849

guides/v2.3/graphql/queries/cms-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following query returns information about the "404 Not Found" CMS page:
2121

2222
```text
2323
{
24-
cmsPage(identifier: 1) {
24+
cmsPage(identifier: "no-route") {
2525
url_key
2626
title
2727
content

guides/v2.3/graphql/queries/url-resolver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The `urlResolver` query contains the following attribute.
5151

5252
Attribute | Type | Description
5353
--- | --- | ---
54-
`url` | String | The requested URL
54+
`url` | String | The requested URL. To query for product and category pages, the `url` value must contain the URL key and suffix. For CMS page queries, the `url` value must contain the URL key only.
5555

5656
## Output attributes
5757

0 commit comments

Comments
 (0)