Skip to main content

How to build your own RMA portal

1. Authentication#

For authentication, use magic links.

  1. Send a call to the SendMagicLink service. This will return a RequestToken. Use this token to
  2. Subscribe to the magicLink SignalR hub using this token.
  3. The user receives a mail with the link. Clicking the link will send a TemporaryToken through the hub. Use this token to authenticate your calls.

2. Search the order by id#

Allow the customer to enter their EVA OrderID and use the GetOrder service to display the order info.

3. Create return#

Create the order return by calling the CreateCustomerReturn service this will return the OrderID of the return order.

4. Get the blobs from the return order#

Call the ListBlobsForOrder service with the return order id to get the return label (Type = ReturnLabel).