Skip to Content

ResourceKind

The type of resource a URL path resolves to. This enum represents the various resource types that can be returned when resolving a URL path in the system.

Enum Definition

enum ResourceKind { PRODUCT PRODUCT_GROUP PAGE ARTICLE MANUFACTURER HOME LOGIN LOGOUT REGISTER ACCOUNT ACCOUNT_EDIT ACCOUNT_ORDERS ACCOUNT_WISHLIST CHANGE_PASSWORD RECOVER_PASSWORD RESET_PASSWORD CART CHECKOUT SEARCH BLOG PRODUCTS PRIVACY_POLICY SHIPPING_POLICY REFUND_POLICY TERMS_AND_CONDITIONS NOT_FOUND }

Values

ValueDescription
PRODUCTA single product resource
PRODUCT_GROUPA product group or collection
PAGEA static page resource
ARTICLEA blog article resource
MANUFACTURERA manufacturer or brand resource
HOMEThe home page
LOGINThe login page
LOGOUTThe logout page
REGISTERThe user registration page
ACCOUNTThe user account page
ACCOUNT_EDITThe account edit page
ACCOUNT_ORDERSThe account orders page
ACCOUNT_WISHLISTThe account wishlist page
CHANGE_PASSWORDThe change password page
RECOVER_PASSWORDThe recover password page
RESET_PASSWORDThe reset password page
CARTThe shopping cart page
CHECKOUTThe checkout page
SEARCHThe search results page
BLOGThe blog listing page
PRODUCTSThe products listing page
PRIVACY_POLICYThe privacy policy page
SHIPPING_POLICYThe shipping policy page
REFUND_POLICYThe refund policy page
TERMS_AND_CONDITIONSThe terms and conditions page
NOT_FOUNDA resource that was not found

Example

{ resolveUrl(path: "/products/12345") { resourceKind resourceId } }

No related types available for this enum.