• Get your current catalog

    Parameters

    • productId: any
    • isHidden: boolean

    Returns Promise<any>

    // Set product visibility hidden
    const myCatalog = await WPP.catalog.setProductVisibility(54985569989897, true);

    // Set product visible const myCatalog = await WPP.catalog.setProductVisibility(54985569989897, false);


    @return Return sucess of product visibility