1 ---
2 sidebar_position: 2
3 sidebar_label: "Manage Promotions"
4 tags:
5 - user guide
6 - promotion
7 products:
8 - promotion
9 ---
10
11 import { EllipsisHorizontal, ArrowUpRightOnBox, EllipsisVertical } from "@medusajs/icons"
12 import { Table } from "docs-ui"
13
14 export const metadata = {
15 title: `Manage Promotions in Medusa Admin`,
16 }
17
18 # {metadata.title}
19
20 In this guide, you’ll learn how to manage promotions.
21
22 ## View Promotion's Details
23
24 To view a promotion's details:
25
26 1. Go to Promotions from the sidebar.
27 2. Choose the promotion from the list.
28
29 This opens the promotion's details page. The sections in the details page may differ based on the promotion's type.
30
31 ![Promotion Details](https://res.cloudinary.com/dza7lstvk/image/upload/v1764580476/User%20Guide/CleanShot_2025-12-01_at_11.03.26_2x_xxxa8m.png)
32
33 ### Promotion Statuses
34
35 A promotion's status is shown in the Promotions listing page, and in the promotion's details page in the first section's header. The status can be one of the following:
36
37 <Table>
38 <Table.Header>
39 <Table.Row>
40 <Table.HeaderCell>
41 Status
42 </Table.HeaderCell>
43 <Table.HeaderCell>
44 Description
45 </Table.HeaderCell>
46 </Table.Row>
47 </Table.Header>
48 <Table.Body>
49 <Table.Row>
50 <Table.Cell>Draft</Table.Cell>
51 <Table.Cell>The promotion is not active and can't be used.</Table.Cell>
52 </Table.Row>
53 <Table.Row>
54 <Table.Cell>Active</Table.Cell>
55 <Table.Cell>The promotion is active and can be used.</Table.Cell>
56 </Table.Row>
57 <Table.Row>
58 <Table.Cell>Inactive</Table.Cell>
59 <Table.Cell>The promotion was active but has been deactivated manually. It can't be used.</Table.Cell>
60 </Table.Row>
61 <Table.Row>
62 <Table.Cell>Scheduled</Table.Cell>
63 <Table.Cell>The promotion's campaign has a start date in the future. Once the start date is reached, the promotion becomes active.</Table.Cell>
64 </Table.Row>
65 <Table.Row>
66 <Table.Cell>Expired</Table.Cell>
67 <Table.Cell>The promotion's campaign has an end date that has passed. The promotion can't be used.</Table.Cell>
68 </Table.Row>
69 </Table.Body>
70 </Table>
71
72 ### Promotion Limits
73
74 In the summary section of the promotion's details page, you can see the usage limit of the promotion, if set during its creation. This is the maximum number of times the promotion can be used across all orders.
75
76 A promotion's usage can also be limited by:
77
78 1. The campaign's usage limit, if the promotion is part of a campaign. This is the maximum number of times all promotions in the campaign can be used across all orders. You can set this limit when [creating the campaign](../campaigns/page.mdx).
79 2. The per-customer usage limit, if the promotion is part of a campaign. This is the maximum number of times a single customer can use promotions in a campaign across all their orders. You can set this limit when [creating the campaign](../campaigns/page.mdx).
80
81 Once any of the promotion's limits are reached, the promotion can't be used anymore. For example, if a promotion has a usage limit of 10 and is part of a campaign with a usage limit of 50, the promotion can only be used 10 times even if the campaign's limit hasn't been reached yet.
82
83 ---
84
85 ## Edit Promotion's Details
86
87 <Note>
88
89 If any of the fields are not visible in your admin, contact your technical team to [update your Medusa version](!docs!/learn/update).
90
91 </Note>
92
93 To edit a promotion's general details:
94
95 1. Go to the promotion's details page.
96 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the first section's header.
97 3. Choose Edit from the dropdown.
98 4. In the side window that opens:
99 - You can change the promotion's status to either **Draft**, **Active**, or **Inactive**. Inactive is useful if the promotion was originally active but you want to expire it.
100 - You can edit the promotion's method (whether it's applied manually or automatically) and code.
101 - Based on the promotion's type, you can change how the amount is discounted, either by a fixed amount or a percentage. You can also change the discounted amount.
102 - Based on the promotion's type, you can change how the promotion is applied:
103 - **Each**: The discount is applied to each applicable item in the cart.
104 - **Across**: The discount is applied across all applicable items in the cart.
105 - **Once**: The discount is applied to a specific number of applicable items in the cart, which is determined by the Maximum Quantity field.
106 - Based on the promotion's type, some of the above options may not be available. For example, for "Amount off order", only "Across" is available.
107 - You can edit the maximum quantity of applicable items that the promotion is applied to in the cart.
108 5. Once you're done, click the Save button.
109
110 ![Edit Promotion Form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739951499/User%20Guide/Screenshot_2025-02-19_at_9.51.26_AM_zylmig.png)
111
112 ---
113
114 ## Edit Who Can Use the Promotion
115
116 To edit who can use the promotion:
117
118 1. Go to the promotion's details page.
119 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "Who can use this code?" section.
120 3. Choose Edit from the dropdown.
121 4. In the side window that opens, you can edit existing conditions or add new ones by clicking the "Add condition" button. For each condition:
122 - Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
123 - **Customer Group**: The customer must belong / not belong to the specified customer group(s).
124 - **Region**: The customer's region must belong / not belong to the specified region(s).
125 - **Country**: The customer's country, which is determined through their shipping address, must belong / not belong to the specified countries.
126 - **Sales Channel**: The customer must be / must not be placing the order from the specified sales channels.
127 - **Currency Code**: The currency code that the customer must / must not be placing the order in.
128 - Select the operator of the condition:
129 - **In**: The customer's value for the chosen attribute must belong to the specified values.
130 - **Not In**: The customer's value for the chosen attribute must not belong to the specified values.
131 - Select the value of the attribute.
132 - For example, if you want to allow only customers belonging to the B2B group to use this promotion:
133 - Set the Attribute to Customer Group.
134 - Set the Operator to In.
135 - Set the Value to the B2B customer group.
136 5. Once you're done, click the Save button.
137
138 ![Edit who can use the promotion form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739951824/User%20Guide/Screenshot_2025-02-19_at_9.56.55_AM_miqo10.png)
139
140 ---
141
142 ## Edit the Items the Promotion Applies To
143
144 <Note title="Tip">
145
146 For "Buy X Get Y" or "buyget" promotion types, this section allows you to edit which items the customer gets for free when they buy the specified items. To edit the items that the customer must buy to get the free items, refer to the [Edit Buy X Promotion Condition](#edit-buy-x-promotion-condition) section.
147
148 </Note>
149
150 To edit the items the promotion applies to:
151
152 1. Go to the promotion's details page.
153 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "What items will the promotion be applied to?" section.
154 3. Choose Edit from the dropdown.
155 4. In the side window that opens, you can edit existing conditions or add new ones by clicking the "Add condition" button. For each condition:
156 - Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
157 - **Product**: The promotion applies / doesn't apply to the specified product(s).
158 - **Product Category**: The promotion applies / doesn't apply to the products belonging to the specified categories.
159 - **Product Collection**: The promotion applies / doesn't apply to the products belonging to the specified collection(s).
160 - **Product Type**: The promotion applies / doesn't apply to the products belonging to the specified type(s).
161 - **Product Tag**: The promotion applies / doesn't apply to the products belonging to the specified tag(s).
162 - Select the operator of the condition:
163 - **In**: The value of the item in the cart must belong to the specified values.
164 - **Equals**: The value of the item in the cart must equal the specified values.
165 - **Not In**: The value of the item in the cart must not belong to the specified values.
166 - Select the value of the attribute.
167 - For example, if you want to apply the promotion on products in the "Business desktop PC" category:
168 - Set the Attribute to Product Category.
169 - Set the Operator to In or Equals.
170 - Set the Value to the "Business desktop PC" product category.
171 5. Once you're done, click the Save button.
172
173 ![Edit the items the promotion applies to form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739951994/User%20Guide/Screenshot_2025-02-19_at_9.59.46_AM_n5jbpg.png)
174
175 ---
176
177 ## Edit Buy X Promotion Condition
178
179 For "Buy X Get Y" or "buyget" promotion types, you can edit the "Buy X" part of the promotion. For example, change "Buy 3 shirts to get 1 for free" to "Buy 2 shirts to get 1 for free".
180
181 <Note title="Tip">
182
183 To edit the items that the customer gets for free when they buy the specified items, refer to the [Edit the Items the Promotion Applies To](#edit-the-items-the-promotion-applies-to) section.
184
185 </Note>
186
187 To edit the "Buy X" part of the promotion:
188
189 1. Go to the promotion's details page.
190 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "What needs to be in the cart to unlock the promotion?" section.
191 3. Choose Edit from the dropdown.
192 4. In the side window, you can edit the minimum required quantity of the product in the "Buy X" condition, and any other existing conditions. You can also add new conditions by clicking the "Add condition" button. For each condition:
193 - Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
194 - **Product**: The promotion applies / doesn't apply to the specified product(s).
195 - **Product Category**: The promotion applies / doesn't apply to the products belonging to the specified categories.
196 - **Product Collection**: The promotion applies / doesn't apply to the products belonging to the specified collection(s).
197 - **Product Type**: The promotion applies / doesn't apply to the products belonging to the specified type(s).
198 - **Product Tag**: The promotion applies / doesn't apply to the products belonging to the specified tag(s).
199 - Select the operator of the condition:
200 - **In**: The value of the item in the cart must belong to the specified values.
201 - **Equals**: The value of the item in the cart must equal the specified values.
202 - **Not In**: The value of the item in the cart must not belong to the specified values.
203 - Select the value of the attribute.
204 - For example, if you want to apply the promotion on products in the "Shirts" category:
205 - Set the Attribute to Product Category.
206 - Set the Operator to In or Equals.
207 - Set the Value to the "Shirts" product category.
208 5. Once you're done, click the Save button.
209
210 ![Edit Buy X Promotion Condition form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739952429/User%20Guide/Screenshot_2025-02-19_at_10.06.59_AM_raqa9m.png)
211
212 ---
213
214 ## Edit the Shipping Methods the Promotion Applies To
215
216 <Note>
217
218 Free shipping promotions were added in [Medusa v2.10.0](https://github.com/medusajs/medusa/releases/tag/v2.10.0).
219
220 </Note>
221
222 For "Free Shipping" promotions, you can edit the required conditions for the promotion to be applicable on a cart's shipping methods.
223
224 To edit the shipping methods the promotion applies to:
225
226 1. Go to the promotion's details page.
227 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "What shipping methods will the promotion be applied to?" section.
228 3. Choose Edit from the dropdown.
229 4. In the side window, you can edit the required conditions for the promotion to be applicable on a cart's shipping methods. You can also add new conditions by clicking the "Add condition" button. For each condition:
230 - Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
231 - **Shipping Option Type**: The promotion applies / doesn't apply to shipping methods whose underlying shipping option is of the specified type(s).
232 - Select the operator of the condition:
233 - **In**: The value of the shipping method in the cart must belong to the specified values.
234 - **Not In**: The value of the shipping method in the cart must not belong to the specified values.
235 - Select the value of the attribute.
236 5. Once you're done, click the Save button.
237
238 ![Edit shipping methods condition form](https://res.cloudinary.com/dza7lstvk/image/upload/v1756370174/User%20Guide/CleanShot_2025-08-28_at_11.35.57_2x_fjvmwe.png)
239
240 ---
241
242 ## Add Promotion to Campaign
243
244 If you created a promotion without a campaign, you can add it to an existing campaign from its details page.
245
246 To add a promotion to a campaign:
247
248 1. Go to the promotion's details page.
249 2. Click on "Add to Campaign" in the header of the "Campaign" section.
250 3. In the side window that opens:
251 - Select "Existing Campaign".
252 - Choose the campaign from the "Existing Campaign" dropdown. For promotions that are applied as a fixed amount, only campaigns whose budget uses the same currency as the promotion are shown.
253 4. Once you're done, click the Save button.
254
255 ![Add Promotion to Campaign form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739952681/User%20Guide/Screenshot_2025-02-19_at_10.11.12_AM_enjz4o.png)
256
257 ---
258
259 ## Change Promotion's Campaign
260
261 You can change the campaign that a promotion belongs to, or remove it from a campaign.
262
263 To change a promotion's campaign:
264
265 1. Go to the promotion's details page.
266 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "Campaign" section.
267 3. Choose Edit from the dropdown.
268 4. In the side window that opens:
269 - To remove the promotion from its current campaign, select "Without Campaign".
270 - To change the promotion's campaign, select "Existing Campaign" and choose the campaign from the "Existing Campaign" dropdown.
271 5. Once you're done, click the Save button.
272
273 ---
274
275 ## Edit Promotion Metadata
276
277 <Note>
278
279 This feature is available since [Medusa v2.21.0](https://github.com/medusajs/medusa/releases/tag/v2.21.0).
280
281 </Note>
282
283 Metadata is custom data that can be associated with the promotion in key-value pairs. This is usually used by developers for custom integrations or to store additional information about the promotion.
284
285 To edit the promotion's metadata:
286
287 1. Go to the promotion's details page.
288 2. Click the <InlineIcon Icon={ArrowUpRightOnBox} alt="arrow" /> icon in the "Metadata" section.
289 3. In the side window that opens:
290 - Manage the key-value pairs in the table.
291 - To add a new row of key-value pairs before or after a row:
292 - Hover over the row and click the <InlineIcon Icon={EllipsisVertical} alt="three-dots" /> icon at its end.
293 - Choose "Insert row above" or "Insert row below" from the dropdown.
294 - To delete a row of key-value pairs:
295 - Hover over the row and click the <InlineIcon Icon={EllipsisVertical} alt="three-dots" /> icon at its end.
296 - Choose "Delete row" from the dropdown.
297 4. Once you're done, click the Save button.
298
299 ---
300
301 ## Delete Promotion
302
303 <Note type="warning">
304
305 Deleting a promotion is irreversible.
306
307 </Note>
308
309 To delete a promotion:
310
311 1. Go to the promotion's details page.
312 2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the first section's header.
313 3. Choose Delete from the dropdown.
314 4. Confirm deleting the promotion in the pop-up by entering its code and clicking the "Delete" button.