Home > @vsf-enterprise/bigcommerce-api > Endpoints > getCategory
# Endpoints.getCategory() method
Returns a single Category.
Signature:
getCategory(context: BigcommerceIntegrationContext, params: CategoryParameters): Promise<CategoryResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | CategoryParameters | An object which contains necessary parameters for getting a category. |
Returns:
Promise<CategoryResponse>