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