Skip to content

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/api

Available 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

  1. Get your API token
  2. Test with sandbox mode
  3. Make your first request

Response Format

All API responses are returned in JSON format:

json
{
  "data": {
    // Response data
  },
  "meta": {
    // Metadata (pagination, etc.)
  }
}

HTTP Status Codes

Status CodeDescription
200Success
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
429Too Many Requests
500Internal Server Error

Next Steps

The usage of this API is at your own risk. Attivita GmbH is not responsible for any damages or losses.