---
title: Deactivate discount codes
slug: deactivate-discount-codes
description: Deactivating one or more discount codes in Roster allows you to manage leaked, problematic, or unused codes without affecting the entire discount rule.
docTags: 
createdAt: 2024-12-06T20:56:05.112Z
---

Deactivating one or more discount codes in Roster allows you to manage leaked, problematic, or unused codes without affecting the entire discount rule. This guide provides a step-by-step approach to deactivate one or more codes.

***

## Step-by-step instructions

::::WorkflowBlock
:::WorkflowBlockItem
### Method 1: Deactivate a single discount code from the Discounts page

1. Navigate to `More` > `Discounts` in the left-hand navigation menu.
2. Select the discount rule containing the code you want to deactivate.
3. Locate the code in the list of assigned codes.
4. Click the `More` menu icon on the row of the desired code.
5. Select `Deactivate Code` from the menu.
   - A confirmation dialog will appear, explaining the impact of deactivation:
     - The code will no longer appear in the ambassador’s portal.
     - Attribution for orders using this code will be disabled.
     - For Shopify-linked codes, the code will be deleted from Shopify.
6. Click `Yes, Deactivate` to confirm.
:::

:::WorkflowBlockItem
### Method 2: Deactivate multiple discount codes

1. On the `Discounts` page, select the discount rule containing the codes you want to deactivate.
2. Use the checkboxes next to the codes to select one or more rows.
3. Click on the `Actions` dropdown menu and select `Deactivate Selected Codes`.
4. Review the confirmation dialog and click `Yes, Deactivate` to confirm.
   - All selected codes will be deactivated as described above.
:::

:::WorkflowBlockItem
### Verify deactivation (optional)

1. Use the `Status` dropdown filter on the `Discounts` page to view deactivated codes.
2. Confirm that the targeted codes appear as deactivated within the rule.
   - Deactivated codes remain assigned to their ambassadors for reference but will not function in orders.
:::

:::WorkflowBlockItem
### Method 3: Deactivate a code from an ambassador’s profile

1. Navigate to `Contacts` in the left-hand navigation menu.
2. Select the ambassador whose code you want to deactivate.
3. Scroll down to the `Discounts and Links` section in their profile.
4. Locate the code in the table and click the `Deactivate Code` icon.
5. Confirm deactivation in the dialog box that appears.
   - The code will now show as deactivated within the ambassador’s profile.
:::

:::WorkflowBlockItem
### Understand the impact of deactivating codes

- **Roster:** Orders using deactivated codes will no longer attribute rewards to ambassadors.
- **Shopify:** Deactivated codes are deleted from Shopify (if linked), but past orders remain visible in Shopify reports.
- **Ambassador Portal:** Deactivated codes will no longer be visible to ambassadors.
:::
::::

***

## Need help?

If you have any questions or need additional guidance, contact us at [support@getroster.com](mailto\:support@getroster.com).
