RMA Notifications (from Global‑e)
SendRMAToMerchant API
Send Return Merchandise Authorization (RMA) to the merchant. Global‑e calls this API after a customer generates a label from the Return Portal.
Method/URL
POST https://www.merchant-site-domain.com/rma-info-to-merchant-url
Request Parameters
Request classes MerchantReturn
and merchantOrder
.
Name | Type | Description | Mandatory |
---|---|---|---|
| String | Date of the RMA request | Yes |
| String | Code for the RMA currency | |
| String | Unique identifier of the Merchant on Global-e. | Yes |
| String | Order unique identifier on the Merchant’s site | No |
| String | Global‑e order unique identifier. | Yes |
| Array of MerchantReturnProduct | Array of returned products | Yes |
| Decimal | Cost for return shipping | |
| String | The return tracking number | Yes |
| String | Unique RMA number | Yes |
| String | The shipper name | Yes |
| String | The return tracking URL | Yes |
| String | Code for the web store | |
| String | Code for the web store instance |
Response Parameters
Name | Type | Description |
---|---|---|
| Boolean | Indicates if the call has succeeded. TRUE - indicates success. FALSE - denotes an error or failure. |
Request Example
{ "OrderId": "GE24192321GB", "MerchantOrderId": "71144", "RMANumber": "223878", "ShipperName": "DHL", "ReturnTrackingNumber": "857854854778", "TrackingURL": "www.dhl.com/Tracking?TrackingNumber=857854854778", "CreatedBy": "Customer", "ReturnedProducts": [ { "SKU": "ProductD", "Name": "Blue jacket", "CartItemId": "2", "ReturnQuantity": 1, "ReturnReasonName": "Arrived too late", "MerchantReturnReasonCode": null, "MerchantReturnReasonName": null } ], "MerchantGUID": "7e3d5523-d86a-4c56-8f47-5a48b829e3b7" "CurrencyCode":"EUR", "ReturnShippingCost":2020.9483, "WebStoreCode":"Merchant01", "WebStoreInstanceCode":"01.webstore.com" }
Response Example
Success Example
{ "Success":true, "Message":"success message", "Description":"success description" }
Failure Example
{ "Success":false, "Message":"error message", "Description":"error description" }