Skip to Content

VendorServicesApi

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

MethodHTTP requestDescription
createVendorServicePOST /vendors/{vendor_id}/services
deleteVendorServiceDELETE /vendors/{vendor_id}/services/{id}
getVendorServiceGET /vendors/{vendor_id}/services/{id}Get a specific vendor service
listVendorServicesGET /vendors/{vendor_id}/services
updateServiceAvailabilityPUT /vendors/{vendor_id}/services/{id}/availability/{location_id}
updateVendorServicePUT /vendors/{vendor_id}/services/{id}
vendorGetServiceAvailabilityGET /vendors/{vendor_id}/services/{id}/availability

createVendorService

VendorServiceResponse createVendorService(vendor_id, name, photos, description)

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
nameStringName of the service.[default to null]
photosListService photos.[default to null]
descriptionStringDescription of the service.[optional] [default to null]

Return type

VendorServiceResponse

Authorization

JwtAuthScheme

HTTP request headers

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

deleteVendorService

MessageResponse deleteVendorService(vendor_id, id)

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
idLong[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

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

getVendorService

VendorServiceResponse getVendorService(vendor_id, id)

Get a specific vendor service

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
idLong[default to null]

Return type

VendorServiceResponse

Authorization

JwtAuthScheme

HTTP request headers

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

listVendorServices

PaginatedResponse_VendorServiceResponse listVendorServices(vendor_id, keyword, page, per_page)

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
keywordString[optional] [default to null]
pageInteger[optional] [default to null]
per_pageInteger[optional] [default to null]

Return type

PaginatedResponse_VendorServiceResponse

Authorization

JwtAuthScheme

HTTP request headers

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

updateServiceAvailability

ServiceInventoryInfo updateServiceAvailability(vendor_id, id, location_id, UpdateServiceInventoryRequest)

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
idLong[default to null]
location_idLong[default to null]
UpdateServiceInventoryRequestUpdateServiceInventoryRequest

Return type

ServiceInventoryInfo

Authorization

JwtAuthScheme

HTTP request headers

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

updateVendorService

VendorServiceResponse updateVendorService(vendor_id, id, photos, name, description)

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
idLong[default to null]
photosListService photos to add.[default to null]
nameStringName of the service.[optional] [default to null]
descriptionStringDescription of the service.[optional] [default to null]

Return type

VendorServiceResponse

Authorization

JwtAuthScheme

HTTP request headers

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

vendorGetServiceAvailability

List vendorGetServiceAvailability(vendor_id, id)

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
idLong[default to null]

Return type

List

Authorization

JwtAuthScheme

HTTP request headers

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