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

Commit ba415b5

Browse files
authored
Update url-resolver.md
1 parent 31b2b00 commit ba415b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ where:
1414
Attribute | Data Type | Description
1515
--- | --- | ---
1616
`url` | String | The URL to resolve. Magento stores product and category URLs with the `.html` extension. CMS URLs do not contain the extension.
17-
`EntityUrl` | `EntityUrl` | An output object containing the `id`, `relative_url`, and `type` attributes.
17+
`EntityUrl` | `EntityUrl` | An output object containing the `id`, `canonical_url`, and `type` attributes.
1818
`id` | Int | The ID assigned to the object associated with the specified `url`. This could be a product ID, category ID, or page ID.
19-
`relative_url` | String | The internal relative URL. If the specified `url` is a redirect, the query returns the redirected URL, not the original.
19+
`canonical_url` | String | The internal relative URL. If the specified `url` is a redirect, the query returns the redirected URL, not the original.
2020
`type` | UrlRewriteEntityTypeEnum | The value of `UrlRewriteEntityTypeEnum` is one of PRODUCT, CATEGORY, or CMS_PAGE.
2121

2222
## Example usage

0 commit comments

Comments
 (0)