Skip to Content

VendorOrdersApi

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

MethodHTTP requestDescription
getVendorOrderGET /vendors/{vendor_id}/orders/{order_id}Retrieve detailed information for a specific vendor order
getVendorOrdersGET /vendors/{vendor_id}/ordersList all orders for a vendor with optional filtering

getVendorOrder

VendorOrderResponse getVendorOrder(vendor_id, order_id)

Retrieve detailed information for a specific vendor order

Fetches complete order details for the specified order ID after verifying vendor ownership. Returns an error if the order does not belong to the vendor or if access is denied.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor who owns the order[default to null]
order_idLongUnique identifier of the order to retrieve[default to null]

Return type

VendorOrderResponse

Authorization

JwtAuthScheme

HTTP request headers

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

getVendorOrders

PaginatedResponse_VendorOrderResponse getVendorOrders(vendor_id, status, location_id, page, per_page)

List all orders for a vendor with optional filtering

Retrieves a paginated list of orders for the specified vendor with optional status filtering. Verifies that the authenticated user has access to manage the vendor before returning results.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor whose orders to retrieve[default to null]
statusStringOptional order status filter (pending, preparing, ready, enroute, delivered, failed, cancelled)[optional] [default to null]
location_idLongOptional location filter[optional] [default to null]
pageIntegerPage number for pagination (defaults to 1)[optional] [default to null]
per_pageIntegerNumber of items per page (defaults to 10)[optional] [default to null]

Return type

PaginatedResponse_VendorOrderResponse

Authorization

JwtAuthScheme

HTTP request headers

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