Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Customer GiftCard not located in the administrative module when performing a CPF query
Customer GiftCard not located in the administrative module when performing a CPF query
ID:
Backlog
Published on 7/27/2017
Last update on 12/22/2022

Summary

When performing a GiftCard query in the Admin by ID (document), the customer's voucher is not listed.

{"base64":"  ","img":{"width":1267,"height":1186,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":71232,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/known-issues/Marketing%20&%20Merchandising/customer-giftcard-not-located-in-the-administrative-module-when-performing--cpf-query_1.png"}}

Simulation

When performing a query by ID, the system includes a mask in the following format: 999.999.999-99. However, when a Voucher is created by API, the ID is registered in the following format: 99999999999 (without dots or hyphens).

To simulate this scenario:

  1. Create a Gift Card using the API and link it to a customer (Documentation for creating Gift Cards: https://documenter.getpostman.com/view/18468/giftcard-system/6YtyvrM);
  2. Enter the Gift Cards administrative module and query the client's ID;
  3. The voucher will not be listed because the queried ID will follow the standard 999.999.999-99 and the registered ID will follow the standard 99999999999.

Workaround

To work around the problem, you can remove the dots and the hyphen in the field itself.

To query an ID with no dots or hyphens (created using the API), follow these steps:

  1. Enter the ID in the query field;
  2. Remove the dots and the hyphen;
  3. Click "Search".

{"base64":"  ","img":{"width":1271,"height":1261,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":271775,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/known-issues/Marketing%20&%20Merchandising/customer-giftcard-not-located-in-the-administrative-module-when-performing--cpf-query_2.gif"}}

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