Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Route List

Tyler King edited this page Jan 22, 2021 · 6 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
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.

Welcome to the wiki!

Please see the homepage for a list of relevant pages.

Clone this wiki locally