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

# getProduct() function

Get the product with passed productId

Signature:

export declare function getProduct(productId: string, params?: any, contextInstance?: ShopwareApiInstance): Promise<ProductResponse>;

# Parameters

Parameter Type Description
productId string
params any
contextInstance ShopwareApiInstance

Returns:

Promise<ProductResponse>

# Exceptions

ClientApiError