Shopify Ecom

Can you limit a Shopify discount code to one country?

Published ·
At a glance
Short answer
Yes — on Basic+ with the new Markets version, set the discount's eligibility to a single-country market.
Available since
May 7, 2026, in the Shopify admin.
Plan and Markets version
Basic plan or higher, and only on the new version of Markets.
Customer segments
One discount targets markets or customer segments, not both.
Channel markets
Discounts can't be assigned to specific channel markets.
Percentage discounts
The same in every market and currency: 20% off is 20% off.

How do you limit a discount to a single country?

Any code-based or automatic discount qualifies: open the discount, select Markets under Eligibility, choose the markets, then click Add, per Shopify's discount guide.

The list offers Region, B2B company location and Retail location markets. For one country, pick a region market holding only it, which Shopify calls a single-country market.

If the country sits in a multi-country market, create a market holding only it: a Canada market inside North America becomes a submarket of it. Check before launch that it shows as its own choice in the discount's market list: none of the pages we read on September 24, 2026 — Shopify's discount settings, market types and submarkets guides — says whether it does.

What limits does a market discount have?

Shopify's changelog added discounts by market to the admin on May 7, 2026, with one condition:

Discounts by Market is available for all merchants on Basic plans and above who are on the new version of Markets.
Shopify Changelog — Assign discounts to specific markets, read September 24, 2026 ·

Check which Markets version your store runs before planning the promo.

  • Markets or segments, not both. Eligibility types are mutually exclusive: one discount targets markets or customer segments.
  • No channel markets. Discounts can't be assigned to specific channel markets.
  • One rate everywhere. A 20% discount takes 20% off in every market and currency; fixed-amount discounts are created only in the store's default currency.

Is there another way to target one country?

For free shipping, yes: its discount form keeps a Countries section alongside the Markets option. None of the Help Center pages on discount codes, discount types and the discount codes FAQ that we read on September 24, 2026 documents a country field outside Markets for any other discount.

Developers can also read the country in Shopify Functions: the Discount Function API exposes localization.country.


About This Article

This article was written entirely by AI under human editorial direction. The editor sets the topic and structure, runs multi-stage validation on facts, links, and interactive elements, and verifies the output is useful from a business perspective. All claims are checked against official Shopify sources. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Orders & customers
Do Shopify discount codes apply to B2B orders by default?

Yes — since 23 June 2026 for new B2B stores and existing ones with no active or scheduled discounts; codes stack on catalog prices.

Updated August 24, 2026

Orders & customers
Can you target a shipping discount at B2B customers on Shopify?

Yes — a "Customer is B2B" rule in Checkout Blocks, a route Shopify limits to Plus, or a B2B market assigned to the discount's eligibility.

Updated September 15, 2026

Orders & customers
Can B2B customers use local pickup or local delivery on Shopify?

Partly: pickup in store works at B2B checkout once Support activates it; for local delivery, Shopify documents draft orders and shipping profiles.

September 21, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.