Introduce requested edit calculation query; update webhook topics

8/1/2026, 12:00:41 AM

Snapshot: The schema introduces a new requestedEditCalculate query that returns a CalculatedRequestedEdit object. This query and its associated input types allow merchants to compute the financial impact of line‑item edits before submission. The Order type now supports notes up to 5 000 characters, and the MarketUserErrorCode enum has a new value for currency mismatch errors. In the webhook domain, REQUESTED_EDITS_DECLINE was removed and REQUESTED_EDITS_DENY added, so apps listening for edit‑related events must update their subscriptions. The Shop object no longer includes the appTrialEligible flag. Several type and field descriptions have been tightened, including the risk‑assessment mutation and fact sentiment wording. Script tag resolvers have had sunset notes stripped from their documentation. Apps should review these changes to ensure compatibility and adapt to the new error code and webhook topic.

Query Changes

➕ Added Queries (1)

requestedEditCalculate

The calculated financial outcome of a requested order edit.

🔄 Modified Queries (2)

scriptTag

Theme app extensions

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

Returns a ScriptTag resource by ID.

scriptTags

Theme app extensions

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

A list of script tags.

Mutation Changes

🔄 Modified Mutations (5)

orderRiskAssessmentCreate

Creates a risk assessment for a specific order using the provided risk level and facts. Shopify sends an orders/risk_assessment_changed webhook when the assessment is created.

~ Modified argument: orderRiskAssessmentInput
productDuplicate

Duplicates a product.

If you need to duplicate a large product, such as one that has many
variants
that are active at several
locations,
you might encounter timeout errors.

To avoid these timeout errors, include the synchronous: false argument in this mutation to perform
the duplication asynchronously.

Metafield values are not duplicated if the unique values capability is enabled.

scriptTagCreate

Theme app extensions

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

Creates a new script tag.

scriptTagDelete

Theme app extensions

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

Deletes a script tag.

scriptTagUpdate

Theme app extensions

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

Updates a script tag.

Type Changes

➕ Added Types (7)

📥CalculateRequestedEditInput➕ AddedINPUT_OBJECT

The input fields to calculate the financial outcome of a requested order edit.

📥CalculateRequestedEditLineItemInput➕ AddedINPUT_OBJECT

The input fields for edit line items on a calculated edit.

🏗️CalculatedRequestedEdit➕ AddedOBJECT

The calculated financial outcome of an edit based on the line items requested for editing.

Fields: editLineItems, financialSummary
🏗️CalculatedRequestedEditLineItem➕ AddedOBJECT

The line item being processed for an edit and its calculated monetary values.

Fields: lineItem, quantity, subtotalSet, totalTaxSet
🏗️CalculatedRequestedEditLineItemConnection➕ AddedOBJECT

An auto-generated type for paginating through multiple CalculatedRequestedEditLineItems.

Fields: edges, nodes, pageInfo
🏗️CalculatedRequestedEditLineItemEdge➕ AddedOBJECT

An auto-generated type which holds one CalculatedRequestedEditLineItem and a cursor during pagination.

Fields: cursor, node
🏗️RequestedEditFinancialSummary➕ AddedOBJECT

The financial breakdown of the edit.

Fields: editOrderLevelDiscountSubtotalSet, editSubtotalBeforeTargetAllDiscountsSet, editSubtotalSet, editSubtotalWithCartDiscountSet, editTotalSet ... +1 more

🔄 Modified Types (8)

🏗️MarketUserErrorCode🔄 Modified
Enum value added: MANAGED_MARKET_CURRENCY_MUST_MATCH_COUNTRY
🏗️Order🔄 Modified
🔄 Field modified: note
🏗️OrderRiskAssessment🔄 Modified
🔄 Field modified: facts
🔄 Field modified: riskLevel
🏗️OrderRiskAssessmentCreatePayload🔄 Modified
🔄 Field modified: orderRiskAssessment
🏗️OrderRiskSummary🔄 Modified
🔄 Field modified: assessments
🔄 Field modified: recommendation
🏗️RiskFact🔄 Modified
🔄 Field modified: description
🔄 Field modified: sentiment
🏗️Shop🔄 Modified
Field removed: appTrialEligible
🏗️WebhookSubscriptionTopic🔄 Modified
Enum value removed: REQUESTED_EDITS_DECLINE
Enum value added: REQUESTED_EDITS_DENY