For Shopify app agencies reviewing an exported operation portfolio. This example answers one engineering question: does a legacy warning selection validate against each captured documentation schema, and does a replacement remove this validation error? It does not execute a mutation, assess a live app, or test discount behavior.
Shopify’s June 23, 2026 Admin GraphQL change notice removes DraftOrderDiscountNotAppliedWarning.priceRule starting with 2026-10. The notice directs integrations to warning fields discountTitle and discountCode. In this example, the former title selection is replaced by discountTitle; discountCode is additional warning data, not a claim of identical price-rule semantics.
mutation CalculateDraftLegacy($input: DraftOrderInput!) {
draftOrderCalculate(input: $input) {
calculatedDraftOrder {
warnings {
... on DraftOrderDiscountNotAppliedWarning {
priceRule { title }
}
}
}
userErrors { field message }
}
}
mutation CalculateDraftReplacement($input: DraftOrderInput!) {
draftOrderCalculate(input: $input) {
calculatedDraftOrder {
warnings {
... on DraftOrderDiscountNotAppliedWarning {
discountTitle
discountCode
}
}
}
userErrors { field message }
}
}
{
"readiness": "unknown",
"submitted_count": 2,
"discovered_count": 2,
"assessed_count": 2,
"unknowns": [
"source: served version unknown or differs from requested version; obtain response version evidence",
"target: served version unknown or differs from requested version; obtain response version evidence"
],
"results": [
{
"operation_name": "CalculateDraftLegacy",
"versions": {
"source": {
"status": "valid",
"errors": [],
"deprecated_fields": [
{
"field": "DraftOrderDiscountNotAppliedWarning.priceRule",
"reason": "Use discountCode and discountTitle instead. This field will be removed in 2026-10."
}
]
},
"target": {
"status": "invalid",
"errors": [
"Cannot query field 'priceRule' on type 'DraftOrderDiscountNotAppliedWarning'.\n\nGraphQL request:6:11\n5 | ... on DraftOrderDiscountNotAppliedWarning {\n6 | priceRule { title }\n | ^\n7 | }"
],
"deprecated_fields": []
}
}
},
{
"operation_name": "CalculateDraftReplacement",
"versions": {
"source": {
"status": "valid",
"errors": [],
"deprecated_fields": []
},
"target": {
"status": "valid",
"errors": [],
"deprecated_fields": []
}
}
}
]
}
Legacy: valid against the requested 2026-07 capture, with a deprecation warning; invalid against the requested 2026-10 capture because priceRule is missing. Replacement: valid against both captured schemas. Deprecated-but-valid is different from invalid. The example covers exactly two authored operations in one demo app, all discovered and assessed; no deployed portfolio completeness is established.
{
"source_id": "shopify-pricerule-2026-10-v1",
"notice": "https://shopify.dev/changelog/posts/remove-pricerule-from-draft-order-discount-warning",
"schemas": {
"source": {
"path": "source.json",
"sha256": "db22da56af9ccc824df790529b52a22018769ed7c0b220dc55ab4aed5dd05a3a",
"requested_version": "2026-07",
"served_version": null,
"retrieved_at_utc": "2026-12-01T10:54:35.091955+00:00",
"source_url": "https://shopify.dev/admin-graphql-direct-proxy/2026-07",
"provenance_kind": "official_documentation_proxy_capture"
},
"target": {
"path": "target.json",
"sha256": "80db944078dd1c7ad6ba03822e40b7663ddb57930e49c9536d9ee0592cb1d752",
"requested_version": "2026-10",
"served_version": null,
"retrieved_at_utc": "2026-12-01T10:54:39.980475+00:00",
"source_url": "https://shopify.dev/admin-graphql-direct-proxy/2026-10",
"provenance_kind": "official_documentation_proxy_capture"
}
},
"served_versions": "unknown; no X-Shopify-API-Version header returned",
"authentication": "none; official documentation proxy, not customer store",
"bundle_sha256": "a9966a7d2021425052779c13eede78264bb2aeff98c639849d92c0df7a6b1d2f"
}
These are full fresh official documentation-proxy introspection captures, not invented SDL or archived lab schemas substituted for production. Requested versions are explicit; actually served versions remain unknown. No store credentials were used. The checker keeps readiness unknown and its independent readiness gate rejects the report. That rejection is expected and must not be edited away. Passing field validation does not authenticate the remote API version.
Linux/Python3.12, graphql-core3.2.14, bundled hash-pinned wheel. Download the free preview and installation instructions, plus this example bundle and its checksum. The bundle includes both full schema captures, provenance, exact operations, inventory manifest, expected outcomes and retained report.
sha256sum -c SHA256SUMS unzip shopify-pricerule-example.zip # Place shopify-pricerule-example beside the extracted echoempire-preflight directory. cd echoempire-preflight python3 -m venv .venv .venv/bin/python -m pip install --no-index --find-links wheels --require-hashes -r requirements.lock .venv/bin/python -I -B preflight.py ../shopify-pricerule-example/manifest.json report-pricerule.json # Expected exit 2: unknown readiness, with both operations assessed. .venv/bin/python -I -B verify_report.py ../shopify-pricerule-example/manifest.json report-pricerule.json # Expected exit 1: independent gate rejects unknown served-version provenance.
Read the machine-readable excerpt and provenance. Preflight archive SHA-256: 105f6a65f58ed1e17301ebcbf65939434b7f3e1ca4f2203492ed149b9a9ac937. Example bundle SHA-256: a9966a7d2021425052779c13eede78264bb2aeff98c639849d92c0df7a6b1d2f.
Not covered: runtime permissions, real inputs/results, discount behavior, performance, authorization, business correctness or every Shopify breaking change. A schema checker cannot establish those. The pinned 3.2.14 runtime is the supported baseline; this does not certify 3.3.2 schema compatibility. No customer use or time savings are claimed.
Share only a consented aggregate completion/blocker receipt. The source label shopify-pricerule-2026-10-v1 is visible and accompanies submission; no visit tracking or cookies. It attributes a self-report, not an authenticated referral or independent completion. Owner tests are excluded; traffic stays unknown without measurement.