Skip to main content
GET
/
products
curl https://api.khaime.com/api/v1/partner/products \
  -H "X-API-Key: pk_sandbox_your_key"

List Products

Retrieve all products associated with your merchant account. Supports filtering by product type and category.

Query Parameters

ParameterTypeDescription
category_idintegerFilter by product category ID
category_slugstringFilter by category slug or name. Comma-separated for multiple. Matches slug exactly OR name case-insensitively, so you can pass either online-courses or Online Courses. Unioned with category_id if both are provided. If the value matches no categories, the response is empty (the filter is not silently dropped).
product_typestringFilter by type: digital, physical, service, live_event, consultation, bundle
limitintegerResults per page (1-100, default 20)
offsetintegerPagination offset (default 0)
sort_bystringSort field (default updatedAt)
sort_orderstringASC or DESC (default DESC)

Response

{
  "success": true,
  "data": {
    "products": [
      {
        "id": 3046,
        "title": "Premium Plan",
        "description": "Full access to all features",
        "price": 4999,
        "currency": "USD",
        "product_type": "digital",
        "status": "active"
      }
    ],
    "pagination": {
      "limit": 20,
      "offset": 0,
      "count": 1,
      "has_more": false
    }
  }
}
curl https://api.khaime.com/api/v1/partner/products \
  -H "X-API-Key: pk_sandbox_your_key"