Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Auto approve API accepts any values
Auto approve API accepts any values
ID: 713704
No Fix
Published on 12/12/2022
Last update on 2/16/2024

Summary

Currently, the autoapprove API is not checking if the seller exists, potentially leading to incorrect configurations.

/suggestions/configuration/autoapproval/toggle/seller/1a?sellerId=

If the seller id above is sent, for instance, using a different case sensitive character: Myseller instead of myseller, the API will respond with 200OK and the autoapprove will, misleadingly, be set as true. However, the seller itself will not have its autoapprove activated, since the string needs to be an exact match for it to work.

Simulation

  1. Using the autoapprove settings API, set a string similar to the seller, but not an exact match
  2. Check that this value will be set as true and the API will not respond with a message indicating that there is not existing seller for that value

Workaround

If your autoapprove is not working, double check if there's any character with a different case or slight difference.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback