Product

Endpoints to manage products.

'/products'

GET

async returnAllItems(): Promise<Product[]>

Auth: No

Get all products available.

'/products/{id}'

GET

async returnOneItem(
    @param.path.string('id') productId: string,
  ): Promise<Product>

Auth: No

Get a single product by ID.

Last updated