Routes
Describes the routes object containing URLs for various store pages and user account functionality.
Type Definition
type Routes {
rootUrl: String
accountUrl: String
accountEditUrl: String
accountLoginUrl: String
accountLogoutUrl: String
accountRegisterUrl: String
accountPasswordRecoverUrl: String
accountPasswordChangeUrl: String
accountOrdersUrl: String
accountWishlistUrl: String
searchUrl: String
cartUrl: String
checkoutUrl: String
catalogUrl: String
blogUrl: String
}Fields
| Field | Type | Description |
|---|---|---|
| rootUrl | String | URL to store root |
| accountUrl | String | URL to user account page |
| accountEditUrl | String | URL to user account edit page |
| accountLoginUrl | String | URL to user account login page |
| accountLogoutUrl | String | URL to sign out current user |
| accountRegisterUrl | String | URL to register a new customer account |
| accountPasswordRecoverUrl | String | URL to account password recovery |
| accountPasswordChangeUrl | String | URL to account password update |
| accountOrdersUrl | String | URL to user account orders page |
| accountWishlistUrl | String | URL to user account wishlist page |
| searchUrl | String | URL to store search page |
| cartUrl | String | URL to cart |
| checkoutUrl | String | URL to checkout |
| catalogUrl | String | URL to catalog |
| blogUrl | String | URL to blog |
Relationships
The Routes type is returned by the root routes query and provides navigation URLs for accessing various sections of the store and user account functionality.
Example
query {
routes {
rootUrl
accountUrl
accountEditUrl
accountLoginUrl
accountLogoutUrl
accountRegisterUrl
accountPasswordRecoverUrl
accountPasswordChangeUrl
accountOrdersUrl
accountWishlistUrl
searchUrl
cartUrl
checkoutUrl
catalogUrl
blogUrl
}
}Implements
This type does not implement any interfaces.
Related Types
No related types.