Types > OrderRefund
Commerce APITypesOrderRefund
OrderRefund

Description

Topic: Orders

Fields

customer_balance: Int

Amount of money to refund to customer's balance

Example: 52600


full_refund: Boolean

Whether to perform full refund or not

Example: false


full_restock: Boolean

Whether to perform full restock or not

Example: false


line_items: [OrderRefundLineItem!]


notify: Boolean

Whether to notify customer about refund via email or not

Example: false


reason: OrderRefundReason

Reason why order is refunded

Example: "adjustment"


shipping: OrderRefundShipping


undo_coupon_usage: Boolean

Undo coupon and promotion usage, does nothing but decrements "times used" property on the coupon and promotion

Example: false


Used By

Mutations

ordersCalculateRefund, ordersRefund

Types

OrderCancel

Preview (typescript)

Loading module