Calculated Return
Requires access scope.
The calculated financial outcome of a return based on the line items requested for return.Includes the monetary values of the line items, along with applicable taxes, discounts, and otherfees on the order. Financial summary may include return fees depending onthe return rulesat the time the order was placed.
Anchor to FieldsFields
- financialSummary (ReturnFinancialSummary!)
- returnLineItems (CalculatedReturnLineItemConnection!)
- Anchor to financialSummaryfinancial•Return
Summary Financial Summary! non-null A breakdown of the monetary values for the calculated return.
- Anchor to returnLineItemsreturn•Calculated
Line Items Return Line Item Connection! non-null A list of line items being processed for a return.
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Anchor to QueriesQueries
- returnCalculate (CalculatedReturn)
- •query
The calculated monetary value of the return.
- Anchor to inputinput•Calculate
Return Input! required The input fields for calculating a return.
Arguments