OrderSummaryApi
All URIs are relative to https://business.apis.kesk.app/v1
| Method | HTTP request | Description |
|---|---|---|
| getDeliveryFeeSummary | POST /order/delivery-fee-summary | Calculate delivery fee for an address or coordinates. |
| getOrderSummary | POST /order/summary | Get detailed cost breakdown for a product order. |
| getServiceSummary | POST /order/service-summary | Get cost breakdown for a service booking. |
getDeliveryFeeSummary
DeliveryFeeSummaryResponse getDeliveryFeeSummary(DeliveryFeeSummaryInput)
Calculate delivery fee for an address or coordinates.
Computes the delivery fee based on distance from vendor to delivery location. Accepts either a saved delivery address ID or latitude/longitude coordinates.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| DeliveryFeeSummaryInput | DeliveryFeeSummaryInput | Delivery fee request with vendor and location details |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
getOrderSummary
RegularOrderSummaryResponse getOrderSummary(RegularOrderSummaryInput)
Get detailed cost breakdown for a product order.
Calculates complete order pricing including product costs with options, delivery fees, applicable discounts from coupons, taxes, and vendor fees. Returns itemized breakdown and encrypted token for order validation.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| RegularOrderSummaryInput | RegularOrderSummaryInput | Order summary request with products, vendor, and optional coupon |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
getServiceSummary
ServiceSummaryResponse getServiceSummary(ServiceSummaryInput)
Get cost breakdown for a service booking.
Calculates total pricing for service orders including base service cost, selected options, delivery fees if applicable, taxes, and any coupon discounts. Returns detailed breakdown for transparent pricing before booking.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ServiceSummaryInput | ServiceSummaryInput | Service summary request with service ID, options, and vendor details |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8