Skip to Content

VendorStoreApi

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

MethodHTTP requestDescription
createVendorMenuPOST /vendors/{vendor_id}/store-management/menusCreate vendor menu
deleteVendorMenuDELETE /vendors/{vendor_id}/store-management/menus/{menu_id}Delete vendor menu
getVendorStoreAnalyticsGET /vendors/{vendor_id}/store-management/analyticsGet store analytics
listVendorCategoriesGET /vendors/{vendor_id}/store-management/categoriesList vendor categories
listVendorMenusGET /vendors/{vendor_id}/store-management/menusList vendor menus
updateVendorMenuPUT /vendors/{vendor_id}/store-management/menus/{menu_id}Update vendor menu

createVendorMenu

VendorMenuResponse createVendorMenu(vendor_id, CreateVendorMenuRequest)

Create vendor menu

Creates a new menu for organizing products in the vendor’s store. The menu name must be unique within the vendor’s store.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
CreateVendorMenuRequestCreateVendorMenuRequestMenu creation request with name and optional description

Return type

VendorMenuResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

deleteVendorMenu

MessageResponse deleteVendorMenu(vendor_id, menu_id)

Delete vendor menu

Permanently removes a menu from the vendor’s store. Products in the menu are not deleted, only the menu grouping is removed.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
menu_idLongUnique identifier of the menu to delete[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorStoreAnalytics

VendorStoreAnalyticsResponse getVendorStoreAnalytics(vendor_id, start_date, end_date, period)

Get store analytics

Retrieves comprehensive analytics for the vendor’s store including orders, revenue, and product performance. Date range filtering allows vendors to analyze specific time periods for business insights.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
start_dateStringStart date for analytics period (ISO 8601 format)[optional] [default to null]
end_dateStringEnd date for analytics period (ISO 8601 format)[optional] [default to null]
periodStringAggregation period for time-series data (e.g., “day”, “week”, “month”)[optional] [default to null]

Return type

VendorStoreAnalyticsResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

listVendorCategories

PaginatedResponse_VendorCategoryResponse listVendorCategories(vendor_id, per_page, page, search, parent_id, is_active)

List vendor categories

Retrieves all product categories for the vendor’s store with pagination and filtering. Categories support hierarchical organization with parent-child relationships.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
per_pageIntegerNumber of items per page (default: 10)[optional] [default to null]
pageIntegerPage number to retrieve (default: 1)[optional] [default to null]
searchStringSearch term to filter categories by name[optional] [default to null]
parent_idLongFilter categories by parent category ID for hierarchical views[optional] [default to null]
is_activeBooleanFilter categories by active status[optional] [default to null]

Return type

PaginatedResponse_VendorCategoryResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

listVendorMenus

PaginatedResponse_VendorMenuResponse listVendorMenus(vendor_id, per_page, page, search, is_active)

List vendor menus

Retrieves all menus for the vendor’s store with pagination support. Menus are used to organize products into logical groupings for customers.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
per_pageIntegerNumber of items per page (default: 10)[optional] [default to null]
pageIntegerPage number to retrieve (default: 1)[optional] [default to null]
searchStringSearch term to filter menus by name[optional] [default to null]
is_activeBooleanFilter menus by active status[optional] [default to null]

Return type

PaginatedResponse_VendorMenuResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

updateVendorMenu

VendorMenuResponse updateVendorMenu(vendor_id, menu_id, UpdateVendorMenuRequest)

Update vendor menu

Updates an existing menu’s name, description, or display order. Changes take effect immediately in the customer-facing store.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
menu_idLongUnique identifier of the menu to update[default to null]
UpdateVendorMenuRequestUpdateVendorMenuRequestMenu update request with modified fields

Return type

VendorMenuResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8