📚 Documentation

API Documentation

Everything you need to integrate with our platform. Complete reference, code examples, and best practices.

Quick Start

Get up and running in minutes

1
Authentication

Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY

2
Make Your First Request

Fetch all products with a simple GET request:

curl -X GET "https://ordifydirect.co.uk/api/products" \
  -H "Authorization: Bearer YOUR_API_KEY"

3
Handle the Response

All responses are returned in JSON format:

{
  "products": [
    {
      "id": "123",
      "name": "Product Name",
      "price": 29.99
    }\n  ],\n  "total": 150
}

API Endpoints

Complete reference for all available endpoints

GET
/api/products

Retrieve all products with pagination

GET
/api/products/:id

Get a single product by ID

Code Examples

Ready-to-use code snippets in multiple languages

Webhooks

Real-time notifications for order updates

Best Practices

Learn how to optimize your integration