RMA Notifications (from Global‑e)
SendRMAToMerchant API (Global-e to Merchant)
Send Return Merchandise Authorization (RMA) to the merchant. Global‑e calls this API after a customer generates a label from the Return Portal.
Supports Shopify’s ability to get the return shipping fee when creating a return in their system.
Method/URL
POST https://www.merchant-site-domain.com/rma-info-to-merchant-url
Parameters
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 |
|---|---|---|
| Class ResponseInfo | Indicates if the call has succeeded. Contains the following attributes:
|
Examples
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 Examples
Success Example
{
"Success":true,
"Message":"success message",
"Description":"success description"
}
Failure Example
{
"Success":false,
"Message":"error message",
"Description":"error description"
}