docs/best-practices/urls-and-routing/woocommerce-endpoints.md
Endpoints are an extra part in the website URL that is detected to show different content when present.
For example: You may have a 'my account' page shown at URL yoursite.com/my-account. When the endpoint 'edit-account' is appended to this URL, making it 'yoursite.com/my-account/edit-account' then the Edit account page is shown instead of the My account page.
This allows us to show different content without the need for multiple pages and shortcodes, and reduces the amount of content that needs to be installed.
Endpoints are located at WooCommerce > Settings > Advanced.
The following endpoints are used for checkout-related functionality and are appended to the URL of the /checkout page:
/order-pay/{ORDER_ID}/order-received//add-payment-method//delete-payment-method//set-default-payment-method/The following endpoints are used for account-related functionality and are appended to the URL of the /my-account page:
/orders//view-order/{ORDER_ID}/downloads//edit-account//edit-address//payment-methods//lost-password//customer-logout/