Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems in the editProduct function of the catalog option #1553

Closed
DXPRO opened this issue Dec 14, 2023 · 0 comments
Closed

Problems in the editProduct function of the catalog option #1553

DXPRO opened this issue Dec 14, 2023 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@DXPRO
Copy link
Contributor

DXPRO commented Dec 14, 2023

Description

After obtaining the list of products saved in the WhatsApp business catalog using the function below:
await WPP.catalog.getProducts('5521985625689@c.us', 10);

When executing the edit option with the call below, nothing happens:
WPP.catalog.editProduct('5498255476885590', {name: 'Plano 01', price: '89990', description: 'Insert description for your product', isHidden: true, url: 'http://www.wppconnect.io ', retailerId: 'AKA001'});

Environment

  • WhatsApp version: 2.2353.56
  • WA-JS version(s): v2.28.0
  • Browser: Chrome 120.0.6099.72
  • OS: Windows 11
  • MultiDevice (BETA): no

Steps to Reproduce

  1. First step, obtain the ID of the product to be changed using the call below:
    await WPP.catalog.getProducts('5521985625689@c.us', 10);
  2. After obtaining the ID, use the call below to make a possible change to the product:
    WPP.catalog.editProduct('5498255476885590', {name: 'Plano 01', price: '89990', description: 'Insert description for your product', isHidden: true, url: 'http://www.wppconnect.io ', retailerId: 'AKA001'});

Log Output

If relevant, paste all of your Log Output

Your Code

If relevant, paste all of your challenge code in here

Additional context / Screenshot

Add any other context about the problem here. If applicable, add screenshots to help explain.

@DXPRO DXPRO added bug Something isn't working needs triage labels Dec 14, 2023
icleitoncosta added a commit to icleitoncosta/wa-js that referenced this issue Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant