Getting Started
Use the Revi API to synchronize commerce data, read review statistics, and retrieve reviews for reporting or external systems.
Base URLs
| Environment | Base URL |
|---|---|
| Production API | https://api.revi.io |
Current API
All endpoint paths in this documentation are relative to https://api.revi.io.
Use https://api.revi.io/api/2026-04 for public integrations:
bash
curl "https://api.revi.io/api/2026-04/ping" \
-H "Accept: application/json" \
-H "X-API-KEY: revi_test_xxxxxxxxx"Integration Workflow
- Call
GET /api/2026-04/pingto verify the API key. - Send products with
POST /api/2026-04/products. - Send orders with
POST /api/2026-04/orders. - Link products to orders with
POST /api/2026-04/orders/{id_order}/products. - Update order status with
PATCH /api/2026-04/orders/{id_order}/status. - Retrieve reviews, product ratings, and shop statistics.
Supported Resources
| Resource | Main endpoints |
|---|---|
| System | GET /api/2026-04/ping |
| Shop | GET /api/2026-04/shop, GET /api/2026-04/shop/stats |
| Orders | GET /api/2026-04/orders, POST /api/2026-04/orders, GET /api/2026-04/orders/{id_order}, PATCH /api/2026-04/orders/{id_order}/status, POST /api/2026-04/orders/{id_order}/products |
| Products | GET /api/2026-04/products, POST /api/2026-04/products, GET /api/2026-04/products/{id_product}, GET /api/2026-04/products/{id_product}/reviews |
| Reviews | GET /api/2026-04/reviews, GET /api/2026-04/reviews/{id} |
Data Formats
Endpoints use JSON request bodies and JSON responses.
Use this datetime format unless an endpoint states otherwise:
text
YYYY-MM-DD HH:MM:SSDecimals should use fixed decimal formatting:
text
30.50First Check
Call GET https://api.revi.io/api/2026-04/ping to confirm the API key resolves to a business.
Successful responses include a Revi-Version header and a JSON envelope:
json
{
"success": true,
"data": {
"message": "pong",
"business": "example.com"
},
"meta": {
"api_version": "2026-04"
}
}