---
title: >-
  New warning DraftOrderMarketRegionCountryCodeNotSupportedWarning added to
  DraftOrder - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/posts/new-warning-draftordermarketregioncountrycodenotsupportedwarning-added-to-draftorder
  md: >-
    https://shopify.dev/changelog/posts/new-warning-draftordermarketregioncountrycodenotsupportedwarning-added-to-draftorder.md
metadata:
  effectiveApiVersion: 2025-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-05-20T09:41:36-04:00'
  postedAt: '2025-07-01T12:00:00-04:00'
  updatedAt: '2025-06-09T07:56:14-04:00'
  effectiveAt: '2025-05-22T12:00:00-04:00'
---

July 1, 2025

# New warning `DraftOrderMarketRegionCountryCodeNotSupportedWarning` added to `DraftOrder`

DateJuly 1, 2025

Version[2025-07](https://shopify.dev/changelog?api_version=2025-07)

FlagsNew

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

We've added a new new type of warning to the [`DraftOrder` object](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/DraftOrder): [`DraftOrderMarketRegionCountryCodeNotSupportedWarning`](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/draftordermarketregioncountrycodenotsupportedwarning).

The [`marketRegionCountryCode` field](https://shopify.dev/docs/api/admin-graphql/2025-07/input-objects/DraftOrderInput#fields-marketRegionCountryCode) is deprecated and does not affect draft orders on shops that use [Markets](https://www.shopify.com/markets). Because of this, the `DraftOrderMarketRegionCountryCodeNotSupportedWarning` warning indicates that the `marketRegionCountryCode` field was set when creating, calculating, or updating a draft order on a shop that uses Markets.
