API Reference
Welcome to the Attivita API documentation. This REST API allows you to integrate with our e-commerce platform to manage products, orders, and receive real-time notifications.
Base URL
All API requests should be made to:
https://api.attivita.de/apiAvailable Endpoints
Products
- GET
/products- Get all products - GET
/products/:id- Get product by ID
Orders
- GET
/orders- Get all orders - GET
/orders/:orderNumber- Get order by number - POST
/orders- Create new order
Webhooks BETA
- GET
/webhooks- Get all webhooks - POST
/webhooks- Create webhook - PATCH
/webhooks/:id- Update webhook - DELETE
/webhooks/:id- Delete webhook - POST
/webhooks/:id/regenerate-secret- Regenerate webhook secret
Quick Start
Response Format
All API responses are returned in JSON format:
json
{
"data": {
// Response data
},
"meta": {
// Metadata (pagination, etc.)
}
}HTTP Status Codes
| Status Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
Next Steps
- Learn about Authentication
- Explore the Products API
- Set up Webhooks for real-time updates