Appearance
getProduct
Definition
Get the product with passed productId
Signature
ts
export async function getProduct(
productId: string,
params: unknown = null,
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<ProductResponse>
Parameters
Name | Type | Description |
---|---|---|
productId | string | |
params | ||
contextInstance | ShopwareApiInstance |
Return type
ts
Promise<ProductResponse>
Usage example
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.