# Routes
## Overview
The `routes` object enables generation of standard storefront URLs. Using this object instead of hardcoding URLs ensures compatibility with "multiple languages" and accommodates potential URL format changes.
## Properties
| Property | Type | Description |
|----------|------|-------------|
| `account_addresses_url` | string | "Account addresses page URL. Redirects to customer accounts when enabled." |
| `account_login_url` | string | "Account login page URL. Redirects to customer accounts when enabled." |
| `account_logout_url` | string | URL for customer account logout |
| `account_profile_url` | string | Customer accounts profile page URL |
| `account_recover_url` | string | "Password recovery page URL. Redirects to customer accounts when enabled." |
| `account_register_url` | string | Account registration page URL |
| `account_url` | string | "Account page URL. Redirects to customer accounts when enabled." |
| `all_products_collection_url` | string | All-products collection page URL |
| `cart_add_url` | string | URL for the `/cart/add` Cart API endpoint |
| `cart_change_url` | string | URL for the `/cart/change` Cart API endpoint |
| `cart_clear_url` | string | URL for the `/cart/clear` Cart API endpoint |
| `cart_update_url` | string | URL for the `/cart/update` Cart API endpoint |
| `cart_url` | string | Cart page URL |
| `collections_url` | string | Collection list page URL |
| `predictive_search_url` | string | Predictive Search API URL |
| `product_recommendations_url` | string | Product Recommendations API URL |
| `root_url` | string | Home page URL |
| `search_url` | string | Search page URL |
| `storefront_login_url` | string | Customer accounts login with return redirect capability |
## Example Output
```json
{
"account_addresses_url": "/account/addresses",
"account_login_url": "/account/login",
"account_logout_url": "/account/logout",
"account_profile_url": "https://shopify.com/56174706753/account/profile?locale=en®ion_country=CA",
"account_recover_url": "/account/recover",
"account_register_url": "/account/register",
"account_url": "/account",
"all_products_collection_url": "/collections/all",
"cart_add_url": "/cart/add",
"cart_change_url": "/cart/change",
"cart_clear_url": "/cart/clear",
"cart_update_url": "/cart/update",
"cart_url": "/cart",
"collections_url": "/collections",
"predictive_search_url": "/search/suggest",
"product_recommendations_url": "/recommendations/products",
"root_url": "/",
"search_url": "/search",
"storefront_login_url": "/customer_authentication/login?return_to=%2Fservices%2Fliquid_rendering%2Fresource%3Ffast_storefront_renderer%3D1&locale=en"
}
```