Skip to main content

Request

You can pass the category ID, slug, or name in the category path segment. The API performs a case-insensitive match for category names.
GET /products/categories/{category}

Path parameters

ParameterTypeDescription
categorystringCategory ID, slug, or name.

200 response

{
    "id": "68bc52c7e15404b8e40a7c37",
    "name": "Apparel",
    "slug": "apparel",
    "description": "Wearables and fashion accessories",
    "image": "https://cdn.salesive.com/categories/apparel.png"
}

404 response

Returned when no category matches the provided identifier.
{
    "status": 404,
    "success": false,
    "message": "Category not found"
}