Skip to main content

shop.products.list(params?)

Returns a paginated list of visible products for the shop.

Parameters

Response

Product type

Example — Product grid with pagination

Example — Category filter


shop.products.getBySlug(slug)

Returns a single product by its URL slug.

Parameters

Example — Product detail page

Returns ShopiError with status: 404 if the product does not exist or is not visible.