All Collections
Building with Return Prime
Integrate Return Prime with your Chatbot application
Integrate Return Prime with your Chatbot application

How to integrate Return Prime with any chatbot application in just few hours

Wonder Women avatar
Written by Wonder Women
Updated over a week ago

Bots are just amazing invention by humans and we are a big fan of them. The entire team at Return Prime has huge respect for people who build things which can help humans focus on real problems by taking care of all redundant tasks where there is no more learning. As humans, we are expected to evolve and solve bigger problems every single day so thank you for contributing towards this.

Chatbots are now in-fact a very much integral part of eCommerce too. Chatbots today are not only solving complex customer queries but are actively helping them make right purchasing decisions, instant issue resolutions, assist them with buying and lot of other things for conversation and conversion both.

Let's see how you can integrate Return Prime with any Chatbot in just a matter of few hours and let the users raise/track a return/exchange for their order right from the chat itself:

Expected Flow:

1. Make use of our API

This API is used to redirect the users to the return prime request details page to raise return/exchange request.

● Method: GET

● URL endpoint:

https://admin.returnprime.com/external/fetch-order?order_number={order_name}&email={customer_email}&store{shopify_store_url}&channel_id={channel_id}

● Params:

order_number: name of the order Eg. #RCOM1234

email: customer email address

store: Shopify store url eg. xyz.myshopify.com

channel_id: unique channel id provided by Return Prime for each channel

Note: For Staging Environment, channel_id is 99998


Here is an example GET request

● Success Response:

The above GET API call on success will redirect the merchant to order list page of Return Prime

● Error response:

{ "success": false,"event": "event name","message": "<description>"}

● Error response codes:

400 = Bad request

500 = Internal server error

NOTE: Channel ID for production environment will be shared by Return Prime team once the integration is done.


Facing any issue with integrations? Click the blue chat button or write us at help@returnprime.com

Did this answer your question?