Skip to Content

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

FieldTypeDescription
rootUrlStringURL to store root
accountUrlStringURL to user account page
accountEditUrlStringURL to user account edit page
accountLoginUrlStringURL to user account login page
accountLogoutUrlStringURL to sign out current user
accountRegisterUrlStringURL to register a new customer account
accountPasswordRecoverUrlStringURL to account password recovery
accountPasswordChangeUrlStringURL to account password update
accountOrdersUrlStringURL to user account orders page
accountWishlistUrlStringURL to user account wishlist page
searchUrlStringURL to store search page
cartUrlStringURL to cart
checkoutUrlStringURL to checkout
catalogUrlStringURL to catalog
blogUrlStringURL 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.

No related types.