Setting includeRestOfWorld to true returns an error in API version 2027-01
doc:019fb619-9b4a-74ac-a83e-3ffa98844fb4::feed/https://shopify.dev/changelog/setting-includerestofworld-to-true-returns-an-error-in-api-version-2027-01- Product
- Shopify Admin GraphQL API
- Source
- Feed
- Change kind
- Feed Entry
- Detected
- Last updated
Interpreted documentation change
What the vendor announced
The evidence describes a change in API behavior starting with GraphQL Admin API version 2027-01: setting DiscountCountriesInput.includeRestOfWorld to true now returns a BAD_REQUEST error, while older versions keep previous behavior. It notes that apps must specify each country individually via add before upgrading, and that includeRestOfWorld remains in the input but true is disallowed in 2027-01. No explicit deprecation notice, rate limit, or replacement endpoint is provided.
Setting includeRestOfWorld to true returns an error in API version 2027-01 Starting with GraphQL Admin API version 2027-01, setting the deprecated DiscountCountriesInput.includeRestOfWorld field to true returns a BAD_REQUEST error. Apps that use this value must specify every applicable country through add before upgrading. Apps on 2026-10 and earlier keep their existing behavior while those versions are supported. What changed As of API version 2027-01, includeRestOfWorld remains in DiscountCountriesInput, but passing true returns this error: includeRestOfWorld is no l…
Monitored for you
Does this change affect your integration?
Choose the operations and fields your services use. Detektu matches Shopify findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.
Multi-source correlation
Related changes
Other Shopify findings correlated with this change across sources.
- DeprecationSDK version 12.3.0 yanked
sdk:npm/@shopify/shopify-api@12.3.0 - Potentially breakingSDK release 15.0.0
sdk:npm/@shopify/shopify-api@15.0.0 - Potentially breakingSDK release 15.0.0
sdk:npm/@shopify/shopify-api@15.0.0