Konum bilgisi
Vigo API Dokümantasyonu
Bu dökümantasyon, Vigo API sürümüne ait endpointleri ve entegrasyon detaylarını içermektedir. API, sipariş yönetimi ve sistemler arası veri entegrasyonu gibi işlevler için kullanılabilir.
İletişim
Başvuru ve sorularınız için integration@vigo.ist adresine mail iletebilirsiniz.
https://developers.vigo.ist/_mock/docs/
https://app-dev.vigo.ist/api/v2/
https://app.vigo.ist/api/v2/
Kimlik Doğrulama
Kimlik ve Yetkilendirme ile ilgili işlemleri içermektedir.
API'yi kullanabilmek için bir erişim token'ı alınmalıdır. Hesabınız oluşturulduğunda size özel clientId ve clientSecret bilgileri e-posta yoluyla iletilir. Bu bilgiler kullanılarak token alınması gerekmektedir.
Token alındıktan sonra, tüm yetkili isteklerde header bilgisi içinde
x-auth-token key'i ile iletilmelidir.Durum güncellemelerinde bildirim yapılacak callback bilgileri.
Eğer callback bilgisi iletilirse, pickup noktası onaylandığında, aşağıdaki body ile POST methodu kullanılarak belirtilen url'e bir istek gönderilir:
{
"id": "6881e2c77d092a3b9377f048",
"externalId": "externalId95",
"onboardingStatus": "approved",
"name": "fındık - Test - pickuptest955",
"city": "istanbul",
"district": "Fındıklı",
"authorizedEmail": "test@mail.vigo",
"authorizedPhone": "05327981731",
"address": "fındıklı mahallesi senem sokak no:39-31",
"location": {
"latitude": 40.9735869,
"longitude": 29.1393237
},
"serverTime": "2025-07-24T07:39:17.929Z"
}- Mock server
https://developers.vigo.ist/_mock/docs/pickupPoint
- Development server
https://app-dev.vigo.ist/api/v2/pickupPoint
- Production server
https://app.vigo.ist/api/v2/pickupPoint
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developers.vigo.ist/_mock/docs/pickupPoint \
-H 'Content-Type: application/json' \
-H 'x-auth-token: YOUR_API_KEY_HERE' \
-d '{
"name": "Test şubesi",
"address": "Kadıköy Kozyatağı Gelişim Sokak No:12",
"city": "İstanbul",
"district": "Kadıköy",
"location": {
"longitude": 42,
"latitude": 42
},
"authorizedPhone": 5320000000,
"authorizedEmail": "ornek@firma.com",
"callback": {
"url": "https://ornek-callback.com/pickup-status",
"tokenHeader": "Authorization",
"token": "Bearer abcdef123456"
},
"externalId": "EXT123456"
}'{ "success": true, "message": "Pick up noktası oluşturuldu" }
- Mock server
https://developers.vigo.ist/_mock/docs/pickupPoint
- Development server
https://app-dev.vigo.ist/api/v2/pickupPoint
- Production server
https://app.vigo.ist/api/v2/pickupPoint
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developers.vigo.ist/_mock/docs/pickupPoint \
-H 'x-auth-token: YOUR_API_KEY_HERE'{ "pickupPoints": [ { … } ], "serverTime": "2025-07-24T09:22:08.546Z" }
- Mock server
https://developers.vigo.ist/_mock/docs/pickupPoint/{id}/calculatePrice
- Development server
https://app-dev.vigo.ist/api/v2/pickupPoint/{id}/calculatePrice
- Production server
https://app.vigo.ist/api/v2/pickupPoint/{id}/calculatePrice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developers.vigo.ist/_mock/docs/pickupPoint/6881dcf9219d5b001e54d17a/calculatePrice \
-H 'Content-Type: application/json' \
-H 'x-auth-token: YOUR_API_KEY_HERE' \
-d '{
"receiver": {
"address": "Gülbahar Mahallesi, Şahinler sokak, Şişli, İstanbul",
"location": {
"latitude": 41.012345,
"longitude": 28.987654
}
}
}'{ "price": 100 }