Home > @shopware-pwa/shopware-6-client > getCategory

# getCategory() function

Signature:

export declare function getCategory(categoryId: string, contextInstance?: ShopwareApiInstance): Promise<Category>;

# Parameters

Parameter Type Description
categoryId string
contextInstance ShopwareApiInstance

Returns:

Promise<Category>

# Exceptions

ClientApiError