Overview
As part of Global-e’s comprehensive solution, Global-e delivers a Returns Portal branded with the merchant logo and theme as well as a unique URL to access your Returns Portal. Merchants who have their own returns portal and third-party return portals can use Global-e Return APIs to integrate functionality for Global-e return shipping options, as well as to obtain required return documents and manage tracking information. Global-e Return APIs are designed to provide a comprehensive solution for the return flow:- GetReturnShippingOptions API — Used to receive a list of return shipping methods available for a specific order and its associated costs.
- GetReturnDocuments API — Used to receive return documents and related information, including the label, the tracking number, the tracking URL, the shipper’s name, the commercial invoice (if relevant), the RMA number, and the return note.
- GetTrackingEvents API — Used to receive status events on the delivery status of an order/return.
High-level flow
Following is the recommended high-level workflow for the product(s) return process.- Shopper initiates a return, usually using an Order ID and an Email.
- Shopper selects the return product(s) and the reason(s) for his return.
- Returns Portal calls GetReturnShippingOptions API to receive a list of available return shipping methods and their associated prices configured on Global-e.
- Returns Portal displays the available return shipping methods. The return shipping price received from Global-e via the API can be overridden by the Returns Portal.
- Additional refund/credit methods, such as store credit, can be offered to the shopper.
- Once the shopper selects the desired return shipping method, the Returns Portal calls GetReturnDocuments API to generate a Global-e RMA and receive all the required return documents. Global-e returns all the required documents as a single PDF file including tracking information, if relevant.
- Returns Portal shows a confirmation page indicating the return was issued with the documents available for download.
- Global-e sends an RMA email — a return request confirmation email — to the shopper with the relevant documents attached. The RMA email can be disabled on the Global-e side and managed by the Returns Portal. To disable it please refer to your Global-e representative.
- Shopper ships the return package using the return documents.
- Optional: the Returns Portal calls the Tracking Events API to get all the tracking events for a given tracking number. (Not all returns are trackable.)
- Based on the merchant policy, the shopper should be refunded for the returned items (after shipping cost deduction). The merchant portal can use standard Global-e functionality with web portal, pre-integrated webhooks, or Refund APIs.
Integrated Returns Portal
Following is a list of pre-integrated third party returns providers.Reference
Get return shipping options — reference & playground
Request (
OrderId, ProviderCode, ReturnedProducts, …), the return shipping methods and costs response, the return destination details, error shapes, examples, and the interactive playground for POST /Return/GetReturnShippingOptions.Get return documents — reference & playground
Request (
OrderId, ReturnedProducts, ReturnAddress, shipping details, …), the RMA + return-documents response, tracking details, error shapes, examples, and the interactive playground for POST /Return/GetReturnDocuments.The GetReturnShippingOptions page also documents several standard Global-e object definitions (
Attributes, BillingDetails, Brand, Category, DiscountsList, ShippingDetails, UserIdNumberType, VATRateType). These are shared, cross-endpoint objects — they are not part of the GetReturnShippingOptions request. See the Shared Objects section of the API reference for their definitions.Use Cases
A typical portal integration is a two-call flow: first GetReturnShippingOptions to present the available methods and costs, then GetReturnDocuments to generate the RMA and documents for the method the shopper chose.1. Get the available return shipping options
Request the shipping methods available for the order and the products being returned.Request
Response
2. Generate the RMA and return documents
Once the shopper selects a method, call GetReturnDocuments (passing the chosenReturnShippingMethodId / ReturnShippingTypeId) to generate the Global-e RMA and receive the documents.
Request
Response

