VendorTypesApi
All URIs are relative to https://business.apis.kesk.app/v1
| Method | HTTP request | Description |
|---|---|---|
| getVendorTypeDetails | GET /vendor-types/{id} | Get detailed information for a specific vendor type. |
| getVendorTypes | GET /vendor-types | List all active vendor types. |
getVendorTypeDetails
VendorTypeResponse getVendorTypeDetails(id)
Get detailed information for a specific vendor type.
Retrieves complete details for a vendor type including its name, description, and activation status. Useful for displaying category-specific information before browsing vendors of that type.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | Unique identifier of the vendor type | [default to null] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
getVendorTypes
PaginatedResponse_VendorTypeResponse getVendorTypes(latitude, longitude, page, per_page)
List all active vendor types.
Retrieves all active vendor types available in the platform, optionally filtered by geographic location to show only types with vendors operating in the specified area.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| latitude | Double | Latitude coordinate for filtering types available in specific location | [optional] [default to null] |
| longitude | Double | Longitude coordinate for filtering types available in specific location | [optional] [default to null] |
| page | Integer | Page number for pagination (default: 1) | [optional] [default to null] |
| per_page | Integer | Items per page for pagination (default: 20) | [optional] [default to null] |
Return type
PaginatedResponse_VendorTypeResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8