Skip to content
Luke Walsh edited this page Sep 26, 2024 · 3 revisions

Here are the defined routes and what they do.

Route Notes
GET / Displays home of app for authenticated shops
GET /login Displays login/install page
POST/GET /authenticate/{type?} Authenticates the shop/installs the shop
GET /billing/{plan?} Sends user to billable screen (if enabled), optional planID
GET /billing/process/{plan?} Processes the customer's billing response, optional planID
POST/GET /billing/usage-charge Create a usage charge for a recurring charge for a shop

Deprecated routes

Route Notes
GET /itp Directs user to a full-page to attempt to set an ITP cookie.
GET /itp/ask Displays a cookie consent page if original ITP route fails to set cookie.

For setting a prefix to these routes, such as /app, see Prefixing Routes entry.