Anchor to returnCalculatereturn
returnCalculate
query
Requires access scope or
access scope. Also: The shop must have access to exchanges.
The calculated monetary value to be exchanged due to the return.
Anchor to Arguments
Arguments
- Anchor to inputinput•Calculate
Return requiredInput! The input fields for calculating a return.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to CalculatedReturnCalculated•
Return A calculated return.
- exchange
Line •Items [Calculatednon-nullExchange Line Item!]! A list of calculated exchange line items.
- id•ID!non-null
A globally-unique ID.
- return
Line •Items [Calculatednon-nullReturn Line Item!]! A list of calculated return line items.
- return
Shipping •Fee CalculatedReturn Shipping Fee The calulated return shipping fee.
- exchange
Was this section helpful?
Query Reference
{
returnCalculate(input) {
# returnCalculate fields
}
}