ProductsApi
All URIs are relative to https://business.apis.kesk.app/v1
| Method | HTTP request | Description |
|---|---|---|
| getFrequentProducts | GET /products/frequent | Get products frequently bought together with a specific product. Returns a curated list of complementary products based on historical purchase patterns. Helps customers discover related items to add to their order for a complete experience. |
| getTags | GET /products/tags | Retrieve all available tags for product filtering and discovery |
getFrequentProducts
PaginatedResponse_FrequentProductResponse getFrequentProducts(id, page, per_page, authorization)
Get products frequently bought together with a specific product. Returns a curated list of complementary products based on historical purchase patterns. Helps customers discover related items to add to their order for a complete experience.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | The unique identifier of the product to find related items for | [default to null] |
| page | Integer | Page number for pagination (starts at 1) | [optional] [default to null] |
| per_page | Integer | Number of items per page (default: 20) | [optional] [default to null] |
| authorization | String | Optional Bearer token for authenticated users | [optional] [default to null] |
Return type
PaginatedResponse_FrequentProductResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
getTags
PaginatedResponse_TagListResponse getTags(vendor_type_id, name, page, per_page)
Retrieve all available tags for product filtering and discovery
Returns a paginated list of tags that can be filtered by vendor type or searched by name. Tags provide an alternative navigation method to categories, allowing users to find products based on attributes like “vegan”, “gluten-free”, “organic”, or other cross-category characteristics.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_type_id | Long | Filter tags by vendor type to show only relevant tags (e.g., restaurant tags vs pharmacy tags) | [optional] [default to null] |
| name | String | Search tags by name (partial match supported) | [optional] [default to null] |
| page | Long | Page number for pagination (defaults to 1) | [optional] [default to null] |
| per_page | Long | Number of tags per page (defaults to 10) | [optional] [default to null] |
Return type
PaginatedResponse_TagListResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8