Returns are a way to return items to the store.
- Start a return intent for a user
Get active returns
Add an item to a return
Start a return intent for...
Storefront API (1.0.0)
REVER's Storefront Returns API is the solution to building your custom made returns storefront while leveraging the power of REVER's returns engine.
Quick Integration
- RESTful architecture
- OpenAPI specification with ready-to-use examples and client library generation
Features
- Return initiation and validation
- Smart exchange recommendations
- Multiple refund options (store credit, bank transfer, gift cards)
- Automated return logistics
- Tracking and status updates
- Risk Assesment
Technical Highlights
- REST-based API with JSON payloads
- Secure authentication via API keys
- Sandbox environment for testing
- Rate limiting with generous quotas
Get started quickly with our step-by-step integration guide. Our support team is ready to help you at every step of your integration journey.
This authentication method is primarily used for server-to-server (unattended) integrations. You must request an API key through your account manager.\nThe API key must be kept secure and confidential, do not share it with anyone.
To authenticate a request using an API key, include the header x-rever-api-key. Example: x-rever-api-key: 87bf223499abeef
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://docs.itsrever.com/_mock/apis/storefront/
- Mock serverhttps://docs.itsrever.com/_mock/apis/storefront/returns
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.itsrever.com/_mock/apis/storefront/returns?order_ids=string'Response
application/json
{ "returns": [ { … } ] }
- Mock serverhttps://docs.itsrever.com/_mock/apis/storefront/returns/intent/start
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.itsrever.com/_mock/apis/storefront/returns/intent/start \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"order_number": "string"
}'Response
application/json
{ "order": { "id": "string", "currency": "string", "line_items": [ … ], "return_id": "string", "customer_token": "string" } }
- Mock serverhttps://docs.itsrever.com/_mock/apis/storefront/returns/{return_id}/save_client_preferences
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.itsrever.com/_mock/apis/storefront/returns/{return_id}/save_client_preferences?line_item_id=string'Response
application/json
{ "return_id": "string", "pending_credit_to_use": 200, "currency": "EUR" }