Skip to Content

Routes

URLs for key store pages, such as account, cart, checkout, and blog.

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 provides a centralized collection of navigational URLs for the store. These routes are typically used to construct links throughout the storefront application, enabling customers to navigate between key pages such as their account, cart, checkout, and blog sections.

Example

query { routes { rootUrl accountUrl accountLoginUrl cartUrl checkoutUrl catalogUrl blogUrl } }

Implements

This type does not implement any interfaces.

No related types are associated with this type.