Skip to content
{
  "endpoint": "/api/v1/shipments",
  "method": "POST",
  "headers": {
    "Authorization": "Bearer {token}",
    "Content-Type": "application/json"
  },
  "body": {
    "sender": { "name": "...", "phone": "..." },
    "receiver": { "name": "...", "address": "..." },
    "packages": [{ "weight": 1.5, "type": "box" }]
  }
}
            
REST API v2.0

API Integration

Full-featured REST API to automate all logistics processes. Integrate Evropat directly into your system.

What You Can Do with API

What You Can Do with API

Create Waybills

Automatically generate waybills with all required data and receive barcode for printing.

Shipment tracking

Get current status of each shipment, webhook notifications for status changes.

Price Calculation

Calculate delivery price before creating shipment, including all additional services.

Offices & Locations

List of all offices with working hours, addresses, and map coordinates.

Cash on Delivery

Manage cash on delivery, reports on transferred amounts and pending payments.

Label Printing

Generate PDF labels in various formats - A4, A6, thermal labels (10x15).

code

Easy Integration

Example of creating a shipment with a few lines of code

create-shipment.php
$response = Http::withToken($apiKey)
    ->post('https://api.evropat.bg/v2/shipments', [
        'sender' => [
            'name' => 'My Store Ltd',
            'phone' => '0888123456',
            'city' => 'Sofia',
        ],
        'receiver' => [
            'name' => 'John Smith',
            'phone' => '0899987654',
            'address' => '15 Vitosha St',
            'city' => 'Plovdiv',
        ],
        'packages' => [
            ['weight' => 1.5, 'contents' => 'Clothes']
        ],
        'cod_amount' => 45.99,
        'payment_by' => 'receiver',
    ]);

$shipmentNumber = $response->json('shipment_number');
$labelPdf = $response->json('label_url');
REST

Standard REST API with JSON format

OAuth 2.0

Secure authentication with Bearer tokens

Webhooks

Receive notifications when shipment status changes through webhooks.

Request Quote

Request API Access

Fill out the form and you will receive API keys and full documentation within 24 hours.

Free sandbox for testing

Full documentation with examples

Technical support during integration