Suggested Refund
Requires access scope or access scope.
A refund amount that Shopify suggests based on the items, duties, and shipping costs that customers return. Provides a breakdown of all monetary values including subtotals, taxes, discounts, and the maximum refundable amount.
The suggested refund includes objects to refund with their quantities and restock instructions, objects for duty reimbursements, and for shipping cost refunds. Provides objects and the interface to process the refund through the appropriate gateways.
Learn more about previewing and refunding duties.
Anchor to FieldsFields
- Anchor to amountSetamount•Money
Set Bag! non-null The total monetary value to be refunded in shop and presentment currencies.
- Anchor to discountedSubtotalSetdiscounted•Money
Subtotal Set Bag! non-null The sum of all the discounted prices of the line items being refunded.
- Anchor to maximumRefundableSetmaximum•Money
Refundable Set Bag! non-null The total monetary value available to refund in shop and presentment currencies.
- Anchor to refundDutiesrefund•[Refund
Duties Duty!]! non-null A list of duties to be refunded from the order.
- Anchor to refundLineItemsrefund•[Refund
Line Items Line Item!]! non-null A list of line items to be refunded, along with restock instructions.
- Anchor to shippingshipping•Shipping
Refund! non-null The shipping costs to be refunded from the order.
- Anchor to subtotalSetsubtotal•Money
Set Bag! non-null The sum of all the prices of the line items being refunded in shop and presentment currencies.
- Anchor to suggestedRefundMethodssuggested•[Suggested
Refund Methods Refund Method!]! non-null A list of suggested refund methods.
- Anchor to suggestedTransactionssuggested•[Suggested
Transactions Order Transaction!]! non-null A list of suggested order transactions.
- Anchor to totalCartDiscountAmountSettotal•Money
Cart Discount Amount Set Bag! non-null The total cart discount amount that was applied to all line items in this refund.
- Anchor to totalDutiesSettotal•Money
Duties Set Bag! non-null The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.
- Anchor to totalTaxSettotal•Money
Tax Set Bag! non-null The sum of the taxes being refunded from the order in shop and presentment currencies. The value must be positive.
Deprecated fields
- Anchor to amountamount•Money!non-nullDeprecated
- Anchor to maximumRefundablemaximum•Money!
Refundable non-nullDeprecated - Anchor to subtotalsubtotal•Money!non-nullDeprecated
- Anchor to totalTaxestotal•Money!
Taxes non-nullDeprecated