Anchor to CalculatedReturnCalculated
objectCalculated Return
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 firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Was this section helpful?
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
Was this section helpful?