NotifyOrderRefund
The NotifyOrderRefund method notifies the merchant about Global-e initiated refunds issued to the shopper.
If implemented on the merchant’s site, the Global‑e servers post the information about customer refunds, in cases where such refunds are initiated on the Global‑e side.
Method/URL
https://www.merchant-site-domain/order-refund-url
Parameters
Request Attributes |
---|
Order Array of Merchant.OrderRefund objects Contains information about order refunds. |
Response Attributes |
---|
Merchant.ResponseInfo object Details regarding reason for the order refund. |
Example
Request
{ "MerchantGUID": "abcdabcd-abcd-abcd-abcd-abcdabcdabcd", "MerchantOrderId": "14123332", "Products": [{ "CartItemId": 12365, "RefundQuantity": "3", "OriginalRefundAmount": "114.5300", "RefundAmount": "170.1000", "RefundReason": { "OrderRefundReasonCode": "DAMAGED-ITEM-CODE", "Name": "Damaged Item" }, "RefundComments": "Fully refunded order" } ], "OrderId": "GE69488861GB", "RefundId": 789, "RMANumber": 6543, "CurrencyCode": “CAD”, "OriginalCurrencyCode": “USD”, "TotalRefundAmount": "170.10", "RefundReason": { "OrderRefundReasonCode": "DAMAGED-ITEM-CODE", "Name": "Damaged Item" }, "RefundComments": "Fully refunded order", "OriginalTotalRefundAmount": "114.53", "ServiceGestureAmount": "0.00", "WebStoreCode": null }