Sipariş listesi
Panelde / entegrasyonla oluşan sipariş kayıtlarını listelemek için bu endpoint kullanılır. Filtre ve sayfalama parametreleri istek üzerinden iletilebilir.
İstek
GET /api/orders
Accept: application/json
Authorization: Bearer YOUR_API_KEY
Örnek istekler
- 💻 cURL
- 🐘 PHP
- 🟢 Node.js
- 🐍 Python
curl -X GET "https://app.faturaentegrator.com/api/orders" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"
<?php
$ch = curl_init('https://app.faturaentegrator.com/api/orders');
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => ['Accept: application/json', 'Authorization: Bearer YOUR_API_KEY'],
CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
curl_close($ch);
const res = await fetch('https://app.faturaentegrator.com/api/orders', {
headers: { Accept: 'application/json', Authorization: 'Bearer YOUR_API_KEY' },
});
const data = await res.json();
import requests
r = requests.get(
'https://app.faturaentegrator.com/api/orders',
headers={'Accept': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY'},
)
data = r.json()