Skip to content

getProductCrossSelling

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 ​

NameTypeDescription
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.

Open in StackBlitz