Gift Cards
Object
EnterpriseGiftCard
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
id |
The ID of the enterprise the gift card belongs to |
|
|
code |
String! |
The code on the gift card |
|
name |
String! |
The Enterprise's name for the gift card |
|
enterprise |
The enterprise the gift card belongs to |
Object
GiftCardCreationSource
| Fields | Type | Description |
|---|---|---|
|
source |
Where the gift card was created from |
|
|
additional |
Any additional information associated with the creation source, Shopfront does not control this |
Object
GiftCardMovement
| Fields | Type | Description |
|---|---|---|
|
sale |
The sale the movement occurred within |
|
|
register |
The register the movement occurred on |
|
|
giftCard |
The gift card which had the movement |
|
|
amount |
Float! |
The value of the gift card which was moved (sold will be positive, redeemed will be negative) |
|
action |
The action that occurred |
|
|
timestamp |
The timestamp of the movement |
Object
GiftCard
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
id |
The unique ID for the gift card |
|
|
clientId |
String |
The client ID for the gift card (not unique) (this could be your ID) |
|
outlet |
The Outlet this gift card was purchased at |
|
|
originalAmount |
Float! |
The original amount that was loaded on the gift card |
|
currentAmount |
Float! |
The current amount of money that is left on the gift card |
|
code |
String! |
The code on the gift card (this is unique across valid gift cards) |
|
expiry |
The expiry date for the gift card |
|
|
status |
The status of the gift card |
|
|
creationSource |
Where the gift card was initially created from |