Frontend | Backend | Api

Products routes (Frontend)

Name Request Response variables Description
listCategoryProducts

GET /items/category/{slug}

slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
Name Type Description
categoryDescription CategoryDescription Single CategoryDescription record
Show a single record
listProducts

GET /items/{page}

page \d+
Name Type Description
products Collection (Product) Collection of Products
Retrieve a list of records and assign them to the template.
showProduct

GET /items/{fullSlug}

fullSlug .+
Name Type Description
productDescription ProductDescription Single ProductDescription record
Show a single record