Shopify Discount Code Creation & Attribution for Sellers

Last updated: November 18, 2026

Why Discount Codes?

Discount codes provide flexibility for brands and creators when links aren’t usable and enable dual attribution. Key benefits include:

  1. Channels Without Links
    Works for podcasts, TikTok voiceovers, print, and live events, or any situation where clickable links aren’t possible.

  2. Brand Flexibility
    Sellers can run promotions with custom codes, control discount amounts, and select which products are eligible, all from Levanta.

  3. Dual Attribution
    Discount codes function alongside tracking links. Sellers control which method takes priority when both a code and a link are used on the same order.

How to Create and Manage Promo Codes

  1. Promo Codes Tab
    Access the new tab on your brand detail page, next to Products and Announcements.

  2. Create Promotion
    Click the Create Promotion button to open the multi-step creation wizard.

  3. Configure Code
    Set your code name, discount value, eligible products, usage limits, and active dates.

  4. Assign Creator
    Select a partnered creator from a searchable, filterable list.

Step-by-Step: Creating a Promotion

Step 1: Code Details

  • Promo Code: Enter a custom code or auto-generate one.

  • Discount Value: Choose a percentage off or a fixed amount.

  • Apply To: Select specific products or the entire order.

  • Minimum Purchase: Optional - set a minimum amount or quantity.

  • Maximum Uses: Limit total uses, or set to one per customer.

  • Active Dates: Start date/time and optional end date.

image (6).pngimage (4).png

Step 2: Choose Creator

  • Searchable list of partnered creators, showing name, follower count, promotion method, and social platform icons (IG, FB, TikTok, etc.)

  • Filter creators by attributes; 10 per page pagination

  • One code = one creator in the MVP scope

  • Codes sync to Shopify automatically via API

image (5).png

Additional Configuration Settings

These optional settings are under Additional configuration in Step 1. They sync to your Shopify store and control when shoppers can use the code at checkout.

  • Minimum Purchase Requirements

Sets what a shopper’s cart must meet before the code applies.

  • None (Default): The code works on any order. Best for most creator campaigns.

  • Minimum purchase amount: The cart subtotal must reach a set amount (e.g., $50) before the discount applies.

  • Minimum quantity of items: The cart must include a set number of items (e.g., 2) before the discount applies. Best for bundles or “buy more, save more” promos.

If the cart doesn’t meet the minimum, the code won’t apply and the shopper sees an error at checkout. Shoppers often assume the code is broken, so ask your creators to mention the minimum in their posts (e.g., “Use code JANE15 for 15% off orders over $50”).

  • Discount Code Usage

Controls how many times the code can be used.

  • Limit one use per customer: Each customer (tracked by checkout email) can use the code only once. This also stops repeat buyers from using the creator’s code on future orders.

  • Limit total uses: Sets a cap across all customers (e.g., the first 100 orders). Once the cap is reached, the code deactivates automatically.

Once the total limit is reached, shoppers get an “invalid code” error, even if the creator is still promoting the code. For ongoing creator partnerships, we recommend leaving this unchecked unless you’re running a limited-time promo.

Attribution Priority

When a customer uses both a tracking link and a discount code from different creators, sellers can choose which attribution takes priority:

  1. Tracking Link Wins (Default)
    Credits the creator whose link the customer last clicked. Best for link-focused campaigns.

  2. Coupon Code Wins
    Credits the creator whose code was entered at checkout. Best for promo-heavy campaigns.

⚠ Please note that settings are per brand and only affect future orders.

FAQs

Q: Does the code sync to Shopify?

Yes, via Shopify Admin API in real time. Changes in Shopify are updated in Levanta through a daily sync.

Q: Can one code be assigned to multiple creators?

No, one code = one creator. Duplicate mapping will trigger an error.

Q: What discount types are supported?

Percentage off and fixed amount, applied to products or the entire order.

Q: Can sellers set expiration dates?

Yes, include a start date/time and optional end date in the creation form.

Q: How does a creator know they received a code?

Codes appear in the creator’s Promo Codes tab. In-app notifications are coming soon.

Q: What happens if a seller deletes a code in Shopify?

Daily sync detects changes and updates Levanta. Deletion from Levanta syncs with Shopify in real time.

Q: Why isn’t a creator’s code working at checkout?

Check the code’s Additional Configuration settings. The cart may not meet the minimum purchase requirement, the customer may have already used the code (one use per customer), or the code may have reached its total use limit.

Questions or Need Help?

Our team is here to support you! Reach out to your dedicated CSM or email us at cs@levanta.io