Skip to main content
object

Requires read_returns access scope or read_marketplace_returns access scope. Also: The shop must have access to exchanges.

A calculated return.

•[CalculatedExchangeLineItem!]!
non-null

A list of calculated exchange line items.

•ID!
non-null

A globally-unique ID.

•[CalculatedReturnLineItem!]!
non-null

A list of calculated return line items.

•CalculatedReturnShippingFee

The calculated return shipping fee.


Was this section helpful?

•query

Calculates the financial outcome of a Return without creating it. Use this query to preview return costs before initiating the actual return process.

The calculation provides detailed breakdowns of refund amounts, taxes, RestockingFee charges, return shipping fees, and order-level discount adjustments based on the FulfillmentLineItem objects that customers select for return.

Learn more about building for return management.

Arguments

•CalculateReturnInput!
required

The input fields for calculating a return.



Was this section helpful?