Customers Integration API (doublegis)
Download OpenAPI specification:Download
API для интеграции клиентов
Расчёт доставки для 2GIS
Выполняет расчёт доставки. Работает с данными в формате 2GIS
Request Body schema: application/json
Параметры для поиска вариантов доставки
required | object (GisRoutePoint) |
required | object (GisRoutePoint) |
| locale | string or null Локализация - пока только ru |
Responses
Request samples
- Payload
Content type
application/json
{- "point1": {
- "region_id": "string",
- "lat": 0,
- "lon": 0,
- "timezone_offset": 0
}, - "point2": {
- "region_id": "string",
- "lat": 0,
- "lon": 0,
- "timezone_offset": 0
}, - "locale": "ru"
}Response samples
- 200
- 400
Content type
application/json
{- "claims_offers": [
- {
- "tariff_info": {
- "title": "string",
- "tariff": "string",
- "deliveryType": "string",
- "link": "string",
- "tariff_extra_info": {
- "description": "string"
}
}, - "price": {
- "total_price": "string",
- "total_price_with_vat": "string",
- "currency": "string"
}, - "visiting_intervals": [
- {
- "type": "string",
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z"
}
]
}
]
}