Skip to content

beleavemebe/marketplace-api

Repository files navigation

Marketplace API

This is an API for the marketplace app.

Below is a lame description for it, since I have no wish to generate a proper documentation. See the source code for the details 💩

Endpoints

GET /actions/refresh-dataset

Trigger re-generation of the whole dataset of the API.

GET /status

Get the status of the API.

GET /departments

Get all departments.

GET /pic/{department}/{image}

Get a picture for the department.

GET /products

Get up to limit products on the page-th page.

GET /products/toprated

Get up to limit highest rated products on the page-th page.

GET /products/topsales

Get up to limit best selling products on the page-th page.

GET /products/random

Get up to limit random products on the page-th page.

GET /products/people-are-buying

Get the recently ordered products.

GET /products/{id}

Get details for product id.

GET /products/similar/{id}

Get similar products for product id.

GET /products/filters/{query}

Get available filters for the products matching the query query

POST /products/search

Get up to limit products matching the term term on the page-th page.

Body - a FiltersConfiguration instance or null.

POST /actions/checkout

Checkout with an order.

Body - an OrderRequest instance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published