|
1
|
--- |
|
2
|
sidebar_position: 1 |
|
3
|
sidebar_label: "Manage Gift Cards" |
|
4
|
tags: |
|
5
|
- user guide |
|
6
|
- loyalty |
|
7
|
products: |
|
8
|
- loyalty |
|
9
|
--- |
|
10
|
|
|
11
|
import { Prerequisites, InlineIcon } from "docs-ui" |
|
12
|
import { EllipsisHorizontal } from "@medusajs/icons" |
|
13
|
|
|
14
|
export const metadata = { |
|
15
|
title: `Manage Gift Cards in Medusa Admin`, |
|
16
|
} |
|
17
|
|
|
18
|
# {metadata.title} |
|
19
|
|
|
20
|
In this guide, you'll learn how to create and manage gift cards in the Medusa Admin. |
|
21
|
|
|
22
|
<Prerequisites |
|
23
|
items={[ |
|
24
|
{ |
|
25
|
text: "Loyalty plugin installed", |
|
26
|
link: "!resources!/commerce-modules/loyalty#1-install-the-loyalty-plugin", |
|
27
|
}, |
|
28
|
]} |
|
29
|
/> |
|
30
|
|
|
31
|
## View Gift Cards |
|
32
|
|
|
33
|
To view all gift cards in your store, click on **Gift Cards** in the sidebar. |
|
34
|
|
|
35
|
The list shows each gift card's code, linked product (if any), date issued, and value. You can filter the list by date range or customer. |
|
36
|
|
|
37
|
--- |
|
38
|
|
|
39
|
## Create a Gift Card |
|
40
|
|
|
41
|
To create a new gift card: |
|
42
|
|
|
43
|
1. Go to **Gift Cards** from the sidebar. |
|
44
|
2. Click the **Create** button at the top end of the table section. |
|
45
|
3. In the form that opens, fill in the following fields: |
|
46
|
- **Currency**: Select the currency for this gift card. |
|
47
|
- **Value**: Enter the initial value of the gift card. |
|
48
|
- **Expires at**: Optionally set an expiration date and time. |
|
49
|
- **Note**: Optionally add an internal note about the gift card. |
|
50
|
4. Click the **Create** button. |
|
51
|
|
|
52
|
You'll be taken to the new gift card's details page where you can view and manage its details. |
|
53
|
|
|
54
|
<Note title="Tip"> |
|
55
|
|
|
56
|
Creating a gift card also creates a [store credit account](../../store-credits/page.mdx) that isn't linked to any customer. When the gift card is redeemed on an order, the store credit account's balance will be deducted with the amount. |
|
57
|
|
|
58
|
</Note> |
|
59
|
|
|
60
|
--- |
|
61
|
|
|
62
|
## View Gift Card Details |
|
63
|
|
|
64
|
To view the details of a gift card: |
|
65
|
|
|
66
|
1. Go to **Gift Cards** from the sidebar. |
|
67
|
2. Click on the gift card you want to view. |
|
68
|
|
|
69
|
The details page shows the gift card's code, linked product (if any), currency, initial value, expiration date, and note. |
|
70
|
|
|
71
|
On the side, you can see the current balance compared to the initial value, and any orders where the gift card was applied. |
|
72
|
|
|
73
|
The Transactions section shows the transaction history with all balance changes. |
|
74
|
|
|
75
|
--- |
|
76
|
|
|
77
|
## Edit Expiration Date |
|
78
|
|
|
79
|
To edit a gift card's expiration date: |
|
80
|
|
|
81
|
1. Go to the gift card's details page. |
|
82
|
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top end of the first section. |
|
83
|
3. Choose **Edit expiration date** from the dropdown. |
|
84
|
4. In the side window that opens, choose one of the following: |
|
85
|
- **No expiration date**: The gift card does not expire. |
|
86
|
- **Set expiration date**: Enter a specific date and time. |
|
87
|
5. Click the **Save** button. |
|
88
|
|
|
89
|
--- |
|
90
|
|
|
91
|
## Edit Note |
|
92
|
|
|
93
|
To edit the internal note on a gift card: |
|
94
|
|
|
95
|
1. Go to the gift card's details page. |
|
96
|
2. In the **Note** section, click **Edit note**. |
|
97
|
3. In the side window that opens, update the note text. |
|
98
|
4. Click the **Save** button. |