İçeriğe geç

Sağlayıcı Detayı

GET /v1/shipments/providers/670e6898c80f0c095a27db10
GET /v1/shipments/providers/670e6898c80f0c095a27db10

Belirtilen kargo firmasının (sağlayıcı) entegrasyon bilgilerini getirir.

ParametreKonumTipAçıklamaVarsayılanÖrnek
Authorization * headerstringBearer Yetkilendirme Tokeni (Örn: Bearer eyJhb...)-Bearer <TOKEN>
fetch('https://api.kargomucuz.com/v1/shipments/providers/670e6898c80f0c095a27db10', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <YOUR_TOKEN>'
}
})
.then(response => response.json())
.then(data => console.log(data));
200: Başarılı
{
"status": false,
"message": "Kargo servis sağlayıcı bulunamadı.",
"code": 500
}
401: Yetkisiz
{
"status": false,
"message": "Herhangi bir giriş sağlanmadı.",
"code": 500
}