Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Voucher cannot be configured for restricted use in the case of a CNPJ
Voucher cannot be configured for restricted use in the case of a CNPJ
ID:
Backlog
Published on 4/11/2017
Last update on 12/22/2022

Summary

A store needs to share a voucher with the members of a specific group, e.g. a company. However the restriction option cannot be applied for a CNPJ.

So when a voucher is configured in the Restricted as Yes, the restriction is only applied to a CPF.

If a CNPJ only has one CPF associated with it, the voucher will function.

Simulation

  1. Access the Catalog module.
  2. Click on Campaign Controls.
  3. Click on Voucher.
  4. Create or change a voucher.
  5. Insert CNPJ.
  6. Mark as Restricted.
  7. Mark as Reusable.

The voucher will not be effective if used by users registered in the store whose records show information on this CNPJ.

Workaround

The workaround would be to maintain a restriction by CPF.

This system, included in the Portal, is being replaced. It is now possible to use the new Giftcard Hub with APIs.

See our document on integration with gift card.

Also our technical documentation on APIs.

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