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
- Access the Catalog module.
- Click on Campaign Controls.
- Click on Voucher.
- Create or change a voucher.
- Insert CNPJ.
- Mark as Restricted.
- 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.