Anchor to CalculatedReturnCalculated
objectCalculated Return
Requires access scope or access scope. Also: The shop must have access to exchanges.
A calculated return.
Anchor to FieldsFields
- Anchor to exchangeLineItemsexchange•[Calculated
Line Items Exchange Line Item!]! non-null A list of calculated exchange line items.
- •ID!non-null
A globally-unique ID.
- Anchor to returnLineItemsreturn•[Calculated
Line Items Return Line Item!]! non-null A list of calculated return line items.
- Anchor to returnShippingFeereturn•Calculated
Shipping Fee Return Shipping Fee The calculated return shipping fee.
Was this section helpful?
Anchor to QueriesQueries
- •query
Calculates the financial outcome of a
Returnwithout creating it. Use this query to preview return costs before initiating the actual return process.The calculation provides detailed breakdowns of refund amounts, taxes,
charges, return shipping fees, and order-level discount adjustments based on theobjects that customers select for return.Learn more about building for return management.
- Anchor to inputinput•Calculate
Return Input! required The input fields for calculating a return.
Arguments
Was this section helpful?