{
"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" }]
}
}
API Integration
Full-featured REST API to automate all logistics processes. Integrate Evropat directly into your system.
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).
Easy Integration
Example of creating a shipment with a few lines of code
$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');
Standard REST API with JSON format
Secure authentication with Bearer tokens
Receive notifications when shipment status changes through webhooks.
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