Skip to Content

VendorTypesApi

All URIs are relative to https://business.apis.kesk.app/v1 

MethodHTTP requestDescription
getVendorTypeDetailsGET /vendor-types/{id}Get detailed information for a specific vendor type.
getVendorTypesGET /vendor-typesList 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

NameTypeDescriptionNotes
idLongUnique identifier of the vendor type[default to null]

Return type

VendorTypeResponse

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

NameTypeDescriptionNotes
latitudeDoubleLatitude coordinate for filtering types available in specific location[optional] [default to null]
longitudeDoubleLongitude coordinate for filtering types available in specific location[optional] [default to null]
pageIntegerPage number for pagination (default: 1)[optional] [default to null]
per_pageIntegerItems 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