VendorServicesApi
All URIs are relative to https://business.apis.kesk.app/v1Â
| Method | HTTP request | Description |
|---|---|---|
| createVendorService | POST /vendors/{vendor_id}/services | |
| deleteVendorService | DELETE /vendors/{vendor_id}/services/{id} | |
| getVendorService | GET /vendors/{vendor_id}/services/{id} | Get a specific vendor service |
| listVendorServices | GET /vendors/{vendor_id}/services | |
| updateServiceAvailability | PUT /vendors/{vendor_id}/services/{id}/availability/{location_id} | |
| updateVendorService | PUT /vendors/{vendor_id}/services/{id} | |
| vendorGetServiceAvailability | GET /vendors/{vendor_id}/services/{id}/availability |
createVendorService
VendorServiceResponse createVendorService(vendor_id, name, photos, description)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| name | String | Name of the service. | [default to null] |
| photos | List | Service photos. | [default to null] |
| description | String | Description of the service. | [optional] [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data
- Accept: application/json; charset=utf-8
deleteVendorService
MessageResponse deleteVendorService(vendor_id, id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| id | Long | [default to null] |
Return type
Authorization
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
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| id | Long | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
listVendorServices
PaginatedResponse_VendorServiceResponse listVendorServices(vendor_id, keyword, page, per_page)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| keyword | String | [optional] [default to null] | |
| page | Integer | [optional] [default to null] | |
| per_page | Integer | [optional] [default to null] |
Return type
PaginatedResponse_VendorServiceResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
updateServiceAvailability
ServiceInventoryInfo updateServiceAvailability(vendor_id, id, location_id, UpdateServiceInventoryRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| id | Long | [default to null] | |
| location_id | Long | [default to null] | |
| UpdateServiceInventoryRequest | UpdateServiceInventoryRequest |
Return type
Authorization
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
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| id | Long | [default to null] | |
| photos | List | Service photos to add. | [default to null] |
| name | String | Name of the service. | [optional] [default to null] |
| description | String | Description of the service. | [optional] [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data
- Accept: application/json; charset=utf-8
vendorGetServiceAvailability
List vendorGetServiceAvailability(vendor_id, id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| id | Long | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8