Order
Requires access scope or
access scope.
An order is a customer's request to purchase one or more products from a shop. You can retrieve and update orders using the Order
object.
Learn more about
editing an existing order with the GraphQL Admin API.
Only the last 60 days' worth of orders from a store are accessible from the Order
object by default. If you want to access older orders,
then you need to request access to all orders. If your app is granted
access, then you can add the scope to your app along with
or
.
Private apps are not affected by this change and are automatically granted the scope.
Caution: Only use this data if it's required for your app's functionality. Shopify will restrict access to scopes for apps that don't have a legitimate use for the associated data.
Anchor to Fields and connectionsFields and connections
- Anchor to additionalFeesadditional•[Additional
Fees Fee!]!non-null A list of additional fees applied to the order.
- Anchor to agreementsagreements•Sales
Agreement Connection!non-null A list of sales agreements associated with the order.
- Anchor to alertsalerts•[Resource
Alert!]!non-null A list of messages that appear on the order page in the Shopify admin.
- •Order
App The application that created the order.
- Anchor to billingAddressbilling•Mailing
Address Address The billing address of the customer.
- Anchor to billingAddressMatchesShippingAddressbilling•Boolean!non-null
Address Matches Shipping Address Whether the billing address matches the shipping address.
- Anchor to cancellationcancellation•Order
Cancellation Cancellation details for the order.
- Anchor to cancelledAtcancelled•Date
At Time The date and time when the order was canceled. Returns
null
if the order wasn't canceled.- Anchor to cancelReasoncancel•Order
Reason Cancel Reason The reason provided when the order was canceled. Returns
null
if the order wasn't canceled.- Anchor to canMarkAsPaidcan•Boolean!non-null
Mark As Paid Whether the order can be manually marked as paid.
- Anchor to canNotifyCustomercan•Boolean!non-null
Notify Customer Whether a customer email exists for the order.
- Anchor to capturablecapturable•Boolean!non-null
Whether payment for the order can be captured.
- Anchor to cartDiscountAmountSetcart•Money
Discount Amount Set Bag The total order-level discount amount, before returns, in shop and presentment currencies.
- Anchor to channelInformationchannel•Channel
Information Information Details about the channel that created the order.
- Anchor to clientIpclient•String
Ip The IP address of the API client that created the order.
- Anchor to closedclosed•Boolean!non-null
Whether the order is closed.
- Anchor to closedAtclosed•Date
At Time The date and time when the order was closed. Returns
null
if the order isn't closed.- Anchor to confirmationNumberconfirmation•String
Number A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ". This value isn't guaranteed to be unique.
- Anchor to confirmedconfirmed•Boolean!non-null
Whether inventory has been reserved for the order.
- Anchor to createdAtcreated•Date
At Time!non-null Date and time when the order was created in Shopify.
- Anchor to currencyCodecurrency•Currency
Code Code!non-null The shop currency when the order was placed.
- Anchor to currentCartDiscountAmountSetcurrent•Money
Cart Discount Amount Set Bag!non-null The current order-level discount amount after all order updates, in shop and presentment currencies.
- Anchor to currentShippingPriceSetcurrent•Money
Shipping Price Set Bag!non-null The current shipping price after applying refunds and discounts. If the parent
field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.
- Anchor to currentSubtotalLineItemsQuantitycurrent•Int!non-null
Subtotal Line Items Quantity The sum of the quantities for all line items that contribute to the order's current subtotal price.
- Anchor to currentSubtotalPriceSetcurrent•Money
Subtotal Price Set Bag!non-null The sum of the prices for all line items after discounts and returns, in shop and presentment currencies. If
is
true
, then the subtotal also includes tax.- Anchor to currentTaxLinescurrent•[Tax
Tax Lines Line!]!non-null A list of all tax lines applied to line items on the order, after returns. Tax line prices represent the total price for all tax lines with the same
rate
andtitle
.- Anchor to currentTotalAdditionalFeesSetcurrent•Money
Total Additional Fees Set Bag The total amount of additional fees after returns, in shop and presentment currencies. Returns
null
if there are no additional fees for the order.- Anchor to currentTotalDiscountsSetcurrent•Money
Total Discounts Set Bag!non-null The total amount discounted on the order after returns, in shop and presentment currencies. This includes both order and line level discounts.
- Anchor to currentTotalDutiesSetcurrent•Money
Total Duties Set Bag The total amount of duties after returns, in shop and presentment currencies. Returns
null
if duties aren't applicable.- Anchor to currentTotalPriceSetcurrent•Money
Total Price Set Bag!non-null The total price of the order, after returns, in shop and presentment currencies. This includes taxes and discounts.
- Anchor to currentTotalTaxSetcurrent•Money
Total Tax Set Bag!non-null The sum of the prices of all tax lines applied to line items on the order, after returns, in shop and presentment currencies.
- Anchor to currentTotalWeightcurrent•Unsigned
Total Weight Int64!non-null The total weight of the order after returns, in grams.
- Anchor to customAttributescustom•[Attribute!]!non-null
Attributes A list of additional merchant-facing details that have been added to the order. For example, whether an order is a customer's first.
- Anchor to customercustomer•Customer
The customer that placed the order.
- Anchor to customerAcceptsMarketingcustomer•Boolean!non-null
Accepts Marketing Whether the customer agreed to receive marketing materials.
- Anchor to customerJourneySummarycustomer•Customer
Journey Summary Journey Summary The customer's visits and interactions with the online store before placing the order.
- Anchor to customerLocalecustomer•String
Locale A two-letter or three-letter language code, optionally followed by a region modifier.
- Anchor to discountApplicationsdiscount•Discount
Applications Application Connection!non-null A list of discounts that are applied to the order, not including order edits and refunds.
- Anchor to discountCodediscount•String
Code The discount code used for the order.
- Anchor to discountCodesdiscount•[String!]!non-null
Codes The discount codes used for the order.
- Anchor to displayAddressdisplay•Mailing
Address Address The primary address of the customer. Returns
null
if neither the shipping address nor the billing address was provided.- Anchor to displayFinancialStatusdisplay•Order
Financial Status Display Financial Status The financial status of the order that can be shown to the merchant. This field doesn't capture all the details of an order's financial state. It should only be used for display summary purposes.
- Anchor to displayFulfillmentStatusdisplay•Order
Fulfillment Status Display Fulfillment Status!non-null The fulfillment status for the order that can be shown to the merchant. This field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes. For a more granular view of the fulfillment status, refer to the FulfillmentOrder object.
- Anchor to disputesdisputes•[Order
Dispute Summary!]!non-null A list of the disputes associated with the order.
- Anchor to dutiesIncludedduties•Boolean!non-null
Included Whether duties are included in the subtotal price of the order.
- Anchor to editededited•Boolean!non-null
Whether the order has had any edits applied.
- Anchor to emailemail•String
The email address associated with the customer.
- Anchor to estimatedTaxesestimated•Boolean!non-null
Taxes Whether taxes on the order are estimated. This field returns
false
when taxes on the order are finalized and aren't subject to any changes.- Anchor to eventsevents•Event
Connection!non-null A list of events associated with the order.
- Anchor to fulfillablefulfillable•Boolean!non-null
Whether there are line items that can be fulfilled. This field returns
false
when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the FulfillmentOrder object.- Anchor to fulfillmentOrdersfulfillment•Fulfillment
Orders Order Connection!non-null A list of fulfillment orders for a specific order.
FulfillmentOrder API access scopes govern which fulfillments orders are returned. An API client will only receive a subset of the fulfillment orders which belong to an order if they don't have the necessary access scopes to view all of the fulfillment orders. In the case that an API client does not have the access scopes necessary to view any of the fulfillment orders that belong to an order, an empty array will be returned.
- Anchor to fulfillmentsfulfillments•[Fulfillment!]!non-null
List of shipments for the order.
- Anchor to fulfillmentsCountfulfillments•Count
Count The count of fulfillments including the cancelled fulfillments.
- Anchor to fullyPaidfully•Boolean!non-null
Paid Whether the order has been paid in full.
- Anchor to hasTimelineCommenthas•Boolean!non-null
Timeline Comment Whether the merchant added a timeline comment to the order.
- •ID!non-null
A globally-unique ID.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64!non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to lineItemsline•Line
Items Item Connection!non-null A list of the order's line items.
- Anchor to localizedFieldslocalized•Localized
Fields Field Connection!non-null List of localized fields for the resource.
- Anchor to merchantBusinessEntitymerchant•Business
Business Entity Entity!non-null The merchant's business entity associated with the order.
- Anchor to merchantEditablemerchant•Boolean!non-null
Editable Whether the order can be edited by the merchant. For example, canceled orders can’t be edited.
- Anchor to merchantEditableErrorsmerchant•[String!]!non-null
Editable Errors A list of reasons why the order can't be edited. For example, "Canceled orders can't be edited".
- Anchor to merchantOfRecordAppmerchant•Order
Of Record App App The application acting as the Merchant of Record for the order.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to namename•String!non-null
The unique identifier for the order that appears on the order page in the Shopify admin and the Order status page. For example, "#1001", "EN1001", or "1001-A". This value isn't unique across multiple stores.
- Anchor to netPaymentSetnet•Money
Payment Set Bag!non-null The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies.
- Anchor to nonFulfillableLineItemsnon•Line
Fulfillable Line Items Item Connection!non-null A list of line items that can't be fulfilled. For example, tips and fully refunded line items can't be fulfilled. For a more granular view of the fulfillment status, refer to the FulfillmentOrder object.
- Anchor to notenote•String
The contents of the note associated with the order.
- Anchor to originalTotalAdditionalFeesSetoriginal•Money
Total Additional Fees Set Bag The total amount of additional fees at the time of order creation, in shop and presentment currencies. Returns
null
if additional fees aren't applicable.- Anchor to originalTotalDutiesSetoriginal•Money
Total Duties Set Bag The total amount of duties at the time of order creation, in shop and presentment currencies. Returns
null
if duties aren't applicable.- Anchor to originalTotalPriceSetoriginal•Money
Total Price Set Bag!non-null The total price of the order at the time of order creation, in shop and presentment currencies.
- Anchor to paymentCollectionDetailspayment•Order
Collection Details Payment Collection Details!non-null The payment collection details for the order.
- Anchor to paymentGatewayNamespayment•[String!]!non-null
Gateway Names A list of the names of all payment gateways used for the order. For example, "Shopify Payments" and "Cash on Delivery (COD)".
- Anchor to paymentTermspayment•Payment
Terms Terms The payment terms associated with the order.
- Anchor to phonephone•String
The phone number associated with the customer.
- Anchor to poNumberpo•String
Number The PO number associated with the order.
- Anchor to presentmentCurrencyCodepresentment•Currency
Currency Code Code!non-null The payment
of the customer for the order.
- Anchor to processedAtprocessed•Date
At Time!non-null The date and time when the order was processed. This date and time might not match the date and time when the order was created.
- Anchor to publicationpublication•Publication
The publication that the order was created from.
- Anchor to purchasingEntitypurchasing•Purchasing
Entity Entity The purchasing entity for the order.
- Anchor to refundablerefundable•Boolean!non-null
Whether the order can be refunded.
- Anchor to refundDiscrepancySetrefund•Money
Discrepancy Set Bag!non-null The difference between the suggested and actual refund amount of all refunds that have been applied to the order. A positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor.
- Anchor to refundsrefunds•[Refund!]!non-null
A list of refunds that have been applied to the order.
- Anchor to registeredSourceUrlregistered•URL
Source Url The URL of the source that the order originated from, if found in the domain registry.
- Anchor to requiresShippingrequires•Boolean!non-null
Shipping Whether the order has shipping lines or at least one line item on the order that requires shipping.
- Anchor to restockablerestockable•Boolean!non-null
Whether any line item on the order can be restocked.
- Anchor to retailLocationretail•Location
Location The physical location where a retail order is created or completed, except for draft POS orders completed via the “mark as paid” flow in Admin, which return null. Transactions associated with the order might have been processed at a different location.
- Anchor to returnsreturns•Return
Connection!non-null A list of returns for the order.
- Anchor to returnStatusreturn•Order
Status Return Status!non-null The order's aggregated return status for display purposes.
- Anchor to riskrisk•Order
Risk Summary!non-null The risk characteristics for the order.
- Anchor to shippingAddressshipping•Mailing
Address Address The mailing address of the customer.
- Anchor to shippingLineshipping•Shipping
Line Line A summary of all shipping costs on the order.
- Anchor to shippingLinesshipping•Shipping
Lines Line Connection!non-null A list of the order's shipping lines.
- Anchor to shopifyProtectshopify•Shopify
Protect Protect Order Summary The Shopify Protect details for the order. If Shopify Protect is disabled for the shop, then this will be null.
- Anchor to sourceIdentifiersource•String
Identifier A unique POS or third party order identifier. For example, "1234-12-1000" or "111-98567-54". The
field is derived from this value for POS orders.
- Anchor to sourceNamesource•String
Name The name of the source associated with the order.
- Anchor to staffMemberstaff•Staff
Member Member The staff member associated with the order.
- Anchor to statusPageUrlstatus•URL!non-null
Page Url The URL where the customer can check the order's current status.
- Anchor to subtotalLineItemsQuantitysubtotal•Int!non-null
Line Items Quantity The sum of the quantities for all line items that contribute to the order's subtotal price.
- Anchor to subtotalPriceSetsubtotal•Money
Price Set Bag The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies. If
is
true
, then the subtotal also includes tax.- Anchor to suggestedRefundsuggested•Suggested
Refund Refund A suggested refund for the order.
- •[String!]!non-null
A comma separated list of tags associated with the order. Updating
tags
overwrites any existing tags that were previously added to the order. To add new tags without overwriting existing tags, use the tagsAdd mutation.- Anchor to taxesIncludedtaxes•Boolean!non-null
Included Whether taxes are included in the subtotal price of the order.
- Anchor to taxExempttax•Boolean!non-null
Exempt Whether taxes are exempt on the order.
- Anchor to taxLinestax•[Tax
Lines Line!]!non-null A list of all tax lines applied to line items on the order, before returns. Tax line prices represent the total price for all tax lines with the same
rate
andtitle
.- Anchor to testtest•Boolean!non-null
Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order can't be converted into a real order and vice versa.
- Anchor to totalCapturableSettotal•Money
Capturable Set Bag!non-null The authorized amount that's uncaptured or undercaptured, in shop and presentment currencies. This amount isn't adjusted for returns.
- Anchor to totalCashRoundingAdjustmenttotal•Cash
Cash Rounding Adjustment Rounding Adjustment!non-null The total rounding adjustment applied to payments or refunds for an Order involving cash payments. Applies to some countries where cash transactions are rounded to the nearest currency denomination.
- Anchor to totalDiscountsSettotal•Money
Discounts Set Bag The total amount discounted on the order before returns, in shop and presentment currencies. This includes both order and line level discounts.
- Anchor to totalOutstandingSettotal•Money
Outstanding Set Bag!non-null The total amount not yet transacted for the order, in shop and presentment currencies. A positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer).
- Anchor to totalPriceSettotal•Money
Price Set Bag!non-null The total price of the order, before returns, in shop and presentment currencies. This includes taxes and discounts.
- Anchor to totalReceivedSettotal•Money
Received Set Bag!non-null The total amount received from the customer before returns, in shop and presentment currencies.
- Anchor to totalRefundedSettotal•Money
Refunded Set Bag!non-null The total amount that was refunded, in shop and presentment currencies.
- Anchor to totalRefundedShippingSettotal•Money
Refunded Shipping Set Bag!non-null The total amount of shipping that was refunded, in shop and presentment currencies.
- Anchor to totalShippingPriceSettotal•Money
Shipping Price Set Bag!non-null The total shipping amount before discounts and returns, in shop and presentment currencies.
- Anchor to totalTaxSettotal•Money
Tax Set Bag The total tax amount before returns, in shop and presentment currencies.
- Anchor to totalTipReceivedSettotal•Money
Tip Received Set Bag!non-null The sum of all tip amounts for the order, in shop and presentment currencies.
- Anchor to totalWeighttotal•Unsigned
Weight Int64 The total weight of the order before returns, in grams.
- Anchor to transactionstransactions•[Order
Transaction!]!non-null A list of transactions associated with the order.
- Anchor to transactionsCounttransactions•Count
Count The number of transactions associated with the order.
- Anchor to unpaidunpaid•Boolean!non-null
Whether no payments have been made for the order.
- Anchor to updatedAtupdated•Date
At Time!non-null The date and time when the order was modified last.
Deprecated fields and connections
- Anchor to cartDiscountAmountcart•MoneyDeprecated
Discount Amount - Anchor to channelchannel•ChannelDeprecated
- Anchor to customerJourneycustomer•Customer
Journey JourneyDeprecated - Anchor to landingPageDisplayTextlanding•StringDeprecated
Page Display Text - Anchor to landingPageUrllanding•URLDeprecated
Page Url - Anchor to localizationExtensionslocalization•Localization
Extensions Extension Connection!non-nullDeprecated - Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection!non-nullDeprecated - Anchor to netPaymentnet•Money!non-nullDeprecated
Payment - Anchor to physicalLocationphysical•LocationDeprecated
Location - Anchor to referralCodereferral•StringDeprecated
Code - Anchor to referrerDisplayTextreferrer•StringDeprecated
Display Text - Anchor to referrerUrlreferrer•URLDeprecated
Url - Anchor to riskLevelrisk•Order
Level Risk Level!non-nullDeprecated - Anchor to risksrisks•[Order
Risk!]!non-nullDeprecated - Anchor to subtotalPricesubtotal•MoneyDeprecated
Price - Anchor to totalCapturabletotal•Money!non-nullDeprecated
Capturable - Anchor to totalDiscountstotal•MoneyDeprecated
Discounts - Anchor to totalPricetotal•Money!non-nullDeprecated
Price - Anchor to totalReceivedtotal•Money!non-nullDeprecated
Received - Anchor to totalRefundedtotal•Money!non-nullDeprecated
Refunded - Anchor to totalShippingPricetotal•Money!non-nullDeprecated
Shipping Price - Anchor to totalTaxtotal•MoneyDeprecated
Tax - Anchor to totalTipReceivedtotal•Money
Tip Received V2!non-nullDeprecated
Anchor to QueriesQueries
- •query
The
order
query retrieves an order by its ID. This query provides access to comprehensive order information such as customer details, line items, financial data, and fulfillment status.Use the
order
query to retrieve information associated with the following processes:- Order management and fulfillment
- Financial reporting
- Customer purchase history and transaction analysis
- Shipping and inventory management
You can only retrieve the last 60 days worth of orders from a store by default. If you want to access older orders, then you need to request access to all orders.
For large order datasets, consider using bulk operations. Bulk operations handle pagination automatically and allow you to retrieve data asynchronously without being constrained by API rate limits. Learn more about creating orders and building order management apps.
- •query
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. Theorders
query supports pagination, sorting, and filtering.
Anchor to MutationsMutations
- •mutation
Closes an open order.
- Anchor to inputinput•Order
Close Input!required The input for the mutation.
Arguments
- Anchor to orderorder•Order
The closed order.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Creates an order with attributes such as customer information, line items, and shipping and billing addresses.
Use the
mutation to programmatically generate orders in scenarios where orders aren't created through the standard checkout process, such as when importing orders from an external system or creating orders for wholesale customers.
The
mutation doesn't support applying multiple discounts, such as discounts on line items. Automatic discounts won't be applied unless you replicate the logic of those discounts in your custom implementation. You can apply a discount code, but only one discount code can be set for each order.
NoteIf you're using the
mutation with a trial or development store, then you can create a maximum of five new orders per minute.
After you create an order, you can make subsequent edits to the order using one of the following mutations:
: Used for simple updates to an order, such as changing the order's note, tags, or customer information.
: Used when you need to make significant updates to an order, such as adding or removing line items, changing quantities, or modifying discounts. The
mutation initiates an order editing session, allowing you to make multiple changes before finalizing them. Learn more about using the
mutation to edit existing orders.
Learn how to build apps that integrate with order management and fulfillment processes.
- Anchor to optionsoptions•Order
Create Options Input The strategies for updating inventory and whether to send shipping and order confirmations to customers.
- Anchor to orderorder•Order
Create Order Input!required The attributes of the new order.
Arguments
- Anchor to orderorder•Order
The order that was created.
- Anchor to userErrorsuser•[Order
Errors Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Applies and saves staged changes to an order. Mutations are operating on
. All order edits start with
, have any number of
* mutations made, and end with
.
- •ID!required
The ID of the calculated order that will have its changes applied to the order.
- Anchor to notifyCustomernotify•Boolean
Customer Whether to notify the customer or not.
- Anchor to staffNotestaff•String
Note Note for staff members.
Arguments
- Anchor to orderorder•Order
The order with changes applied.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Sends an email invoice for an order.
- Anchor to emailemail•Email
Input The email input fields for the order invoice. The
bcc
andfrom
fields should be store or staff account emails.- •ID!required
The order associated with the invoice.
Arguments
- Anchor to orderorder•Order
The order associated with the invoice email.
- Anchor to userErrorsuser•[Order
Errors Invoice Send User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Marks an order as paid. You can only mark an order as paid if it isn't already fully paid.
- Anchor to inputinput•Order
Mark As Paid Input!required The input for the mutation.
Arguments
- Anchor to orderorder•Order
The order marked as paid.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Opens a closed order.
- Anchor to inputinput•Order
Open Input!required The input for the mutation.
Arguments
- Anchor to orderorder•Order
The opened order.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates the attributes of an order, such as the customer's email, the shipping address for the order, tags, and metafields associated with the order.
If you need to make significant updates to an order, such as adding or removing line items, changing quantities, or modifying discounts, then use the
mutation instead. The
mutation initiates an order editing session, allowing you to make multiple changes before finalizing them. Learn more about using the
mutation to edit existing orders.
Learn how to build apps that integrate with order management and fulfillment processes.
- Anchor to inputinput•Order
Input!required The attributes of the updated order.
Arguments
- Anchor to orderorder•Order
The updated order.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Creates a refund for an order, allowing you to process returns and issue payments back to customers.
Use the
mutation to programmatically process refunds in scenarios where you need to return money to customers, such as when handling returns, processing chargebacks, or correcting order errors.
The
mutation supports various refund scenarios:
- Refunding line items with optional restocking
- Refunding shipping costs
- Refunding duties and import taxes
- Refunding additional fees
- Processing refunds through different payment methods
- Issuing store credit refunds (when enabled)
You can create both full and partial refunds, and optionally allow over-refunding in specific cases. The mutation also supports idempotent requests to safely retry failed refund attempts.
After creating a refund, you can track its status and details through the order's
refunds
field. The refund is associated with the order and can be used for reporting and reconciliation purposes.Learn more about managing returns and refunding duties.
Note- Anchor to inputinput•Refund
Input!required The input fields that are used in the mutation for creating a refund.
Arguments
- Anchor to orderorder•Order
The order associated with the created refund.
- Anchor to refundrefund•Refund
The created refund.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields