---
title: Deactivate a discount rule
slug: deactivate-a-discount-rule
description: Deactivating a discount rule in Roster is a quick and effective way to ensure that all associated discount codes within the rule are also deactivated.
docTags: 
createdAt: 2024-12-11T21:37:27.090Z
---

Deactivating a discount rule in Roster is a quick and effective way to ensure that all associated discount codes within the rule are also deactivated. This guide will walk you through the steps for deactivating a discount rule, including considerations for Shopify-linked and manual discount rules.

***

## Step-by-step instructions

::::WorkflowBlock
:::WorkflowBlockItem
### Remove the discount rule from the program, campaign, or milestone (optional)

If you are fully deactivating a discount rule, it's important to remember to remove it from any active programs, campaigns, or milestones to which it might be attached so that it doesn't appear for ambassadors.

For example, to remove a shareable discount rule from a program:

1. Navigate to the program's settings.
2. Click on the `Referrals` tab.
3. Locate the `Shareable Discount Code` section where the discount rule is assigned.
4. Click `Remove` to disassociate the discount rule from the program.
   - This step prevents the rule from being used in the program but does not deactivate the codes.
:::

:::WorkflowBlockItem
### Deactivate the discount rule in Roster

1. Navigate to `More` > `Discounts` in the left-hand navigation menu.
2. Select the discount rule you want to deactivate (e.g., `Friends and Family Discount`).
3. Click `Edit Discount Rule`.
4. Set the end date of the discount rule to the current date and time.
5. Click `Save` to deactivate the discount rule.
   - This action expires all individual codes within the discount rule.
:::

:::WorkflowBlockItem
### Verify deactivation in Shopify (if applicable)

1. For Shopify-linked discount rules, click `Details` > `View in Shopify` within Roster.
2. Confirm that the discount rule has been marked as expired in your Shopify admin.
   - Individual codes may still appear in Shopify but will no longer function because the top-level discount rule is expired.
:::

:::WorkflowBlockItem
### Deactivate discount codes in external systems (if applicable)

1. For discount rules that are not linked to Shopify or any other platform:
   - Log in to your e-commerce platform or external system.
   - Locate the discount code or codes and ensure they are marked as expired, deactivated, or removed.
2. Verify that the codes associated with the rule are no longer functional in your system.
:::

:::WorkflowBlockItem
### Understand the impact of deactivating a discount rule

Deactivating a discount rule in Roster ensures that:

- Orders using expired codes are not attributed to ambassadors.
- Ambassadors cannot use or share inactive codes.
:::
::::

***

## Need help?

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