MageSmith
OBJECT Magento 2.4.9

EntityUrl

Contains the `uid`, `relative_url`, and `type` attributes.

Declared or extended by: UrlRewrite

Fields

id Int Deprecated

The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID.

entity_uid ID

The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID.

canonical_url String Deprecated
relative_url String

The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.

redirectCode Int

Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.

One of PRODUCT, CATEGORY, or CMS_PAGE.

Operations returning EntityUrl

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.