Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Beta
VTEX Data Pipeline Beta
Gift Card Data Pipeline
Gift Card Data Pipeline

The gift cards dataset includes historical information on gift cards that have been created or modified. This dataset only provides information on gift cards created natively within VTEX, using the Giftcard API.

Gift cards created through customized or external apps will not appear in this data model.

This section includes the following information:

Data Characteristics

CharacteristicDescription
Data sourceObtained from information in the Audit.
AvailabilityVTEX Admin.
HistoryData is maintained for two years, starting in 2024 for customers already using the VTEX platform.
Minimum update intervalOne hour.

Table: gift_cards_events_raw

Below are the fields that constitute the table:

Column NameColumn TypeColumn Description
account_namecharacter varying(255)Name of the account related to the gift card operation.
event_datetimestamp with time zoneDate and time of the given operation.
operationcharacter varying(200)Type of operation.
subject_idcharacter varying(200)Subtype of operation.
author_idcharacter varying(1000)Author of the operation.
giftcardidcharacter varying(5000)Id of the gift card used on the operation. Only available for operations CREATE_GIFT_CARD or EDIT_GIFT_CARD.
giftcardvaluecharacter varying(5000)Value of the gift card used on the operation. Only available for operations CREATE_GIFT_CARD or EDIT_GIFT_CARD.
edit_initial_valuecharacter varying(5000)Initial value of the gift card, before the edit operation. Only available for operation EDIT_GIFT_CARD.
edit_final_valuecharacter varying(5000)Final value of the gift card, after the edit operation. Only available for operation EDIT_GIFT_CARD.
batch_idcharacter varying(100)Identifier used when data is loaded into the table for quality control of data ingestion.

Analyses with Gift Cards

Here are some analyses you can perform with the gift cards table:

  • List of Created Gift Cards: review the current list of created gift cards.
  • Audit Gift Card Information: examine activities related to your gift cards, including identifying who created a specific gift card and viewing the edit history of a gift card.

Correlations with Other Data

Gift card data is related to order data, providing a comprehensive analysis of purchases and sales. Here are some examples:

  • Most Used Gift Cards: Combining this data model with order data, you can understand how gift cards are being utilized and monitor their usage.
  • Impact on Sales: Similarly, combining with order data allows you to assess how gift cards influence sales.

Discover other Datasets

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
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