9/6/2026, 12:00:13 AM
Shopify GraphQL now exposes a requestedOrderEditCalculate query that returns the calculated financial outcome of a requested order edit, replacing the deprecated requestedEditCalculate. The orders and ordersCount queries have been updated: requested_edit_status has been renamed to requested_order_edit_status and added to the filter options. SubscriptionDraft functions and several subscriptionContract/SubscriptionDraft mutations are marked deprecated in favor of the SubscriptionContractCalculation API. New types—including BarcodeInput, BarcodeType, and calculation input objects—support barcodes on product variants and fine‑grained edit calculations. Developers should update queries to use requested_order_edit_status, migrate away from the legacy subscription draft flow, and adopt the new calculation and barcode types for their integrations.
The calculated financial outcome of a requested order edit.
The calculated financial outcome of a requested order edit.
Returns a list of orders placed in the store, including data such as order status, customer, and line item details.
Use the orders query to build reports, analyze sales performance, or automate fulfillment workflows. The orders query supports pagination,
sorting, and filtering.
Returns the number of orders in the shop. You can filter orders using search syntax or a SavedSearch, and set a maximum count limit to control query performance.
Use the query argument to filter the count by criteria like order status, financial state, or fulfillment status. The response includes both the count value and its precision, indicating whether the count is exact or an estimate.
Note:
The count is limited to 10,000 orders by default. Use thelimitargument to adjust this value, or passnullfor no limit. Limited to a maximum of 10000 by default.
Returns a Subscription Draft resource by ID.
Creates a requested edit on an order on behalf of a buyer.
Declines a requested edit on an order.
Resolves a requested edit on an order, marking it as completed.
Creates a requested edit on an order on behalf of a buyer.
Declines a requested edit on an order.
Resolves a requested edit on an order, marking it as completed.
Creates a subscription contract draft, which is an intention to create a new subscription. The draft lets you incrementally build and modify subscription details before committing them to create the actual SubscriptionContract.
The mutation requires Customer information, billing details, and contract configuration including the SubscriptionBillingPolicy and SubscriptionDeliveryPolicy. You can specify the CustomerPaymentMethod, the MailingAddress for shipping, and subscription intervals.
After you create the draft, you can either modify it with the subscriptionDraftUpdate mutation or finalize and create the active subscription contract with subscriptionDraftCommit.
This mutation and the draft-based flow are deprecated in favor of the SubscriptionContractCalculation API.
Learn more about building subscription contracts.
Creates a draft of an existing SubscriptionContract. The draft captures the current state of the contract and allows incremental modifications through draft mutations such as subscriptionDraftLineAdd, subscriptionDraftDiscountAdd, and subscriptionDraftUpdate.
Changes remain in draft state and don't affect the live contract until committed. After you've made all necessary changes to the draft, commit it using subscriptionDraftCommit to apply the updates to the original contract.
This mutation and the draft-based edit flow are deprecated in favor of the SubscriptionContractCalculation API.
Learn more about updating subscription contracts.
Commits the updates of a Subscription Contract draft.
Adds a subscription discount to a subscription draft.
Applies a code discount on the subscription draft.
Removes a subscription discount from a subscription draft.
Updates a subscription discount on a subscription draft.
Adds a subscription free shipping discount to a subscription draft.
Updates a subscription free shipping discount on a subscription draft.
Adds a subscription line to a subscription draft.
Removes a subscription line from a subscription draft.
Updates a subscription line on a subscription draft.
Updates a Subscription Draft.
The input fields for barcodes that are associated with a product variant. A variant accepts up to
20 barcodes, and a given variant input can't
set both barcode and barcodes. Refer to theProductVariantBarcode
object for how these barcodes are returned.
The identifier standard that a barcode value conforms to. A single value can satisfy more than one
standard, so declare the standard that the merchant or supplier assigned. If no BarcodeType is provided,
then no standard was declared and the value is stored as entered.
The input fields to calculate the financial outcome of a requested order edit.
The input fields for a line item removal on a calculated edit.
The input fields for the line item changes in an edit calculation, grouped by the type of change.
The calculated financial outcome of an edit based on the line items requested for editing.
The line item being processed for an edit and its calculated monetary values.
An auto-generated type for paginating through multiple CalculatedRequestedOrderEditLineItems.
An auto-generated type which holds one CalculatedRequestedOrderEditLineItem and a cursor during pagination.
The line item changes on a calculated edit, grouped by the type of change.
The order's aggregated requested edit status that's used for display purposes.
An order might have multiple requested edits, so this field communicates the prioritized status.
The OrderDisplayRequestedEditStatus enum is a supported filter parameter in the orders query.
A barcode associated with a product variant.
A variant supports up to 20 barcodes, each of
which can have a
type.
Barcode types are validated against their respective format standards.
An auto-generated type for paginating through multiple ProductVariantBarcodes.
An auto-generated type which holds one ProductVariantBarcode and a cursor during pagination.
A buyer-initiated request to edit unfulfilled line items on an order.
An auto-generated type for paginating through multiple RequestedOrderEdits.
The input fields for creating a requested edit.
Return type for requestedOrderEditCreate mutation.
Errors related to creating a requested edit.
Possible error codes that can be returned by RequestedOrderEditCreateUserError.
The input fields for declining a requested edit.
Return type for requestedOrderEditDecline mutation.
Errors related to declining a requested edit.
Possible error codes that can be returned by RequestedOrderEditDeclineUserError.
An auto-generated type which holds one RequestedOrderEdit and a cursor during pagination.
The financial breakdown of the edit.
A line item included in a buyer-initiated requested edit.
An auto-generated type for paginating through multiple RequestedOrderEditLineItems.
An auto-generated type which holds one RequestedOrderEditLineItem and a cursor during pagination.
The input fields for a line item requested for removal in a requested edit.
The line item changes on a requested edit, grouped by the type of change.
The input fields for the line item changes in a requested edit, grouped by the type of change.
The input fields for resolving a requested edit.
Return type for requestedOrderEditResolve mutation.
Errors related to resolving a requested edit.
Possible error codes that can be returned by RequestedOrderEditResolveUserError.
The status of a buyer-initiated requested edit.
The input fields to calculate the financial outcome of a requested order edit.
The input fields for a line item removal on a calculated edit.
The input fields for the line item changes in an edit calculation, grouped by the type of change.
The calculated financial outcome of an edit based on the line items requested for editing.
The line item being processed for an edit and its calculated monetary values.
An auto-generated type for paginating through multiple CalculatedRequestedEditLineItems.
An auto-generated type which holds one CalculatedRequestedEditLineItem and a cursor during pagination.
The line item changes on a calculated edit, grouped by the type of change.
The order's aggregated requested edit status that's used for display purposes.
An order might have multiple requested edits, so this field communicates the prioritized status.
The OrderRequestedEditStatus enum is a supported filter parameter in the orders query.
A buyer-initiated request to edit unfulfilled line items on an order.
An auto-generated type for paginating through multiple RequestedEdits.
The input fields for creating a requested edit.
Return type for requestedEditCreate mutation.
Errors related to creating a requested edit.
Possible error codes that can be returned by RequestedEditCreateUserError.
The input fields for declining a requested edit.
Return type for requestedEditDecline mutation.
Errors related to declining a requested edit.
Possible error codes that can be returned by RequestedEditDeclineUserError.
An auto-generated type which holds one RequestedEdit and a cursor during pagination.
The financial breakdown of the edit.
A line item included in a buyer-initiated requested edit.
An auto-generated type for paginating through multiple RequestedEditLineItems.
An auto-generated type which holds one RequestedEditLineItem and a cursor during pagination.
The input fields for a line item requested for removal in a requested edit.
The line item changes on a requested edit, grouped by the type of change.
The input fields for the line item changes in a requested edit, grouped by the type of change.
The input fields for resolving a requested edit.
Return type for requestedEditResolve mutation.
Errors related to resolving a requested edit.
Possible error codes that can be returned by RequestedEditResolveUserError.
The status of a buyer-initiated requested edit.
ordersordersINCOMPATIBLE_BARCODE_FIELDSBLANK_BARCODE_VALUETOO_MANY_BARCODESBARCODE_VALUE_TOO_LONGDUPLICATE_BARCODE_VALUEINVALID_BARCODE_TYPEINVALID_BARCODE_SEPARATORSINVALID_BARCODE_LENGTHINVALID_BARCODE_PREFIXINVALID_BARCODE_CHARACTERSBARCODE_CHECKSUM_VALIDATION_FAILEDrequestedEditStatusrequestedEditsdisplayRequestedEditStatusThe order's aggregated requested edit status for display purposes.
Indicates the overall state of buyer-initiated requested edits for the order,
helping merchants track and manage pending requests.
requestedOrderEditsThe buyer-initiated requested edits on unfulfilled line items for this order.
INCOMPATIBLE_BARCODE_FIELDSBLANK_BARCODE_VALUETOO_MANY_BARCODESBARCODE_VALUE_TOO_LONGDUPLICATE_BARCODE_VALUEINVALID_BARCODE_TYPEINVALID_BARCODE_SEPARATORSINVALID_BARCODE_LENGTHINVALID_BARCODE_PREFIXINVALID_BARCODE_CHARACTERSBARCODE_CHECKSUM_VALIDATION_FAILEDbarcodesThe barcodes associated with the product variant.
A variant supports up to 20 barcodes, each of
which can have a
type.
Barcode types are validated against their respective format standards.
INCOMPATIBLE_BARCODE_FIELDSBLANK_BARCODE_VALUETOO_MANY_BARCODESBARCODE_VALUE_TOO_LONGDUPLICATE_BARCODE_VALUEINVALID_BARCODE_TYPEINVALID_BARCODE_SEPARATORSINVALID_BARCODE_LENGTHINVALID_BARCODE_PREFIXINVALID_BARCODE_CHARACTERSBARCODE_CHECKSUM_VALIDATION_FAILEDINCOMPATIBLE_BARCODE_FIELDSBLANK_BARCODE_VALUETOO_MANY_BARCODESBARCODE_VALUE_TOO_LONGDUPLICATE_BARCODE_VALUEINVALID_BARCODE_TYPEINVALID_BARCODE_SEPARATORSINVALID_BARCODE_LENGTHINVALID_BARCODE_PREFIXINVALID_BARCODE_CHARACTERSBARCODE_CHECKSUM_VALIDATION_FAILEDordersREQUESTED_EDITS_CREATEREQUESTED_EDITS_RESOLVEREQUESTED_EDITS_DENYREQUESTED_ORDER_EDIT_CREATEDREQUESTED_ORDER_EDIT_RESOLVEDREQUESTED_ORDER_EDIT_DENIED