RefundId uuid — OPTIONAL |
RefundInstanceId int32 — OPTIONALThe internal id of the refund. |
OrderId int32 — OPTIONALThe order id of the order that the refund belongs to. |
Reference string — OPTIONALA custom refund reference. |
Description string — OPTIONALA custom refund description. |
Author string — OPTIONALThe name of the author of the refund. |
ExternalOrderId string — OPTIONALThe external order id of the order. |
OrderTransactionId string — OPTIONALA transaction id of the order. |
SecondaryOrderTransactionId string — OPTIONALAn secondary transaction id of the order. |
ExternalId string — OPTIONALAn external transaction id of the order. |
PaymentName string — OPTIONALThe name of the payment used in the order. |
Locale string — OPTIONAL |
SiteName string — OPTIONALThe market the order was placed on. |
Customer string — OPTIONAL |
OrderSum double — OPTIONAL |
OrderVat double — OPTIONALThe total vat of the order. |
OrderValue double — OPTIONALThe total value of the order rows. |
OrderDiscount double — OPTIONALTHe total discount on the order. |
ShippingFee double — OPTIONAL |
PaymentFee double — OPTIONAL |
Currency string — OPTIONALThe code of the currency used for the refund. |
CreatedOn date-time — OPTIONALThe date the refund was created. |
SentOn date-time — OPTIONALThe date the refund was marked as sent. |
ProcessedOn date-time — OPTIONALThe date the refund was marked as processed. |
Sent boolean — OPTIONALIf true, the refund has been marked as sent. |
Processed boolean — OPTIONALIf true, the refund has been marked as processed. |
RequiresApproval boolean — OPTIONALTrue if this refund requires approval before being sent, processed or settled. |
Approved boolean — OPTIONALNull if undecided, true if approved and false if denied. Only applicable if RequiresApproval is true. |
ApprovalDecidedBy string — OPTIONALThe name of the one that approved or denied the refund. |
ApprovalDecidedOn date-time — OPTIONALThe date that the refund was approved or denied. |
VatRate double — OPTIONALVat rate. E.g. 0.25 for 25%, 0.12 for 12%. |
SkipRefundEvents boolean — OPTIONALWhether or not refund events will be sent for this refund. |
RefundedItemTotal double — OPTIONALThe total amount refunded from order rows. |
RefundedShippingFee double — OPTIONALThe amount refunded from the shipping fee. |
OrderStatus string — OPTIONALThe status of the order that the refund belongs to. |
RefundedPaymentFee double — OPTIONALThe amount refunded from the payment fee. |
RefundedDiscount double — OPTIONALThe amount refunded from the discount (can be split over several refunds). |
Shipped boolean — OPTIONALThe shipping status of the order that the refund belongs to. |
RefundedBalance double — OPTIONALThe amount refunded from the balance (can be split over several refunds). |
RefundedTotal double — OPTIONAL |
RefundRows object[] — OPTIONALList of refund rows belonging to this refund. OrderId int32 — OPTIONAL | RefundRowId int32 — OPTIONAL | OrderRowId int32 — OPTIONALThe order row id that this refund row belongs to, if any. | RefundAmount double — OPTIONALThe refund amount. This can be different than the corresponding order row value. | ToBalance boolean — OPTIONALIf true, the refund amount of this refund row is added to the customer's balance. | Settled boolean — OPTIONALIf true, the refund row is marked as settled. | SettledOn date-time — OPTIONALThe date when the refund row was marked as settled. | CreatedOn date-time — OPTIONALThe date the refund row was created. | Investigation boolean — OPTIONALIf true, the refund row is marked for investigation. | RefundType int32 — OPTIONALPossible values: [0 , 1 , 2 , 3 ] The kind of source transaction the refund is derived from.
0 = Default. A regular refund of the order or order row.
1 = InstanceCost. Return cost type, used in drawing cost for instance.
2 = Shipping. Refund shipping type, used to refund shipping.
3 = InvoiceFee. Refund invoice fee.
0 = Default. A regular refund of the order or order row.
1 = InstanceCost. Return cost type, used in drawing cost for instance.
2 = Shipping. Refund shipping type, used to refund shipping.
3 = InvoiceFee. Refund invoice fee. |
|
Rows object[] — OPTIONALList of order rows belonging to this refund. OrderRowId int32 — OPTIONAL | ItemId int32 — OPTIONAL | ProductId int32 — OPTIONAL | Price double — OPTIONALThe price of the order row, inc vat. | PriceExVat double — OPTIONALThe price of the order row, ex vat. | Name string — OPTIONALThe name of the order row. | ProductName string — OPTIONAL | Variant string — OPTIONAL | Brand string — OPTIONALThe name of the product brand. | PrimaryImage string — OPTIONALThe primary image of the product. | ArticleNumber string — OPTIONAL | Shelf string — OPTIONAL | CampaignNames string — OPTIONALThe name of the campaigns applied to this order row. | Discount double — OPTIONALThe discount amount applied to this order row. | SuggestedRefundAmount double — OPTIONALA suggested refund amount if this order row were to be returned. This takes into account discounts applied to the entire order. | AverageDiscount double — OPTIONALThe average discount applied to this order row. This takes into account discounts applied to the entire order. | PriceBeforeDiscount double — OPTIONALThe price of the order row before any discounts were applied. |
|