# Function: getCategory

api.getCategory

getCategory(context: Context, params: { id: string }): Promise<SingleCategoryResponse>

# Parameters:

Name Type
context Context
params object
params.id string

Returns: Promise<SingleCategoryResponse>

Defined in: api/getCategory/index.ts:5 (opens new window)