Cotizaciones
Obtiene una cotización
GET /api/v1/quotations/{id}
Cuando el estado de la cotización (status) es is_completed, el proceso de cotización ha terminado y se obtienen los resultados de las tarifas creadas con los datos del paso anterior.
Parámetros de la solicitud:
- id: El parámetro que obtuviste del endpoint de cotizaciones (POST /api/v1/quotations) se agrega en esta sección
get/api/v1/quotations/{id}
Request
- Base URL: https://api-pro.skydropx.com
- URL: https://api-pro.skydropx.com/api/v1/quotations/{id}
- Auth: HTTP bearer
Path parameters
idstring required
ID de la Cotización
Response
Cotización encontrada
Example response
{
"id": "0ac5adcc-a13d-427d-81dd-9ddd70b2f660",
"is_completed": true,
"quotation_scope": {
"carriers_scoped_to": "ALL_AVAILABLE"
},
"rates": [
{
"id": "0ac5adcc-a13d-427d-81dd-9ddd70b2f660",
"success": true,
"country_code": "mx",
"provider_name": "fedex",
"provider_display_name": "FedEx",
"provider_service_name": "Standard Overnight",
"provider_service_code": "standard_overnight",
"status": "pending",
"currency_code": "MXN",
"service_fee": 15,
"weight": 5,
"days": 2,
"insurable": true,
"protection_value_total": 100,
"total_value_with_protection": 100,
"pickup": true,
"pickup_package_min": 1,
"pickup_ocurre": true,
"pickup_via_support": true,
"shipment_creation_type": "single"
}
],
"address_template_from_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"address_template_to_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"packages": [
{
"package_number": 1,
"weight": "2.0",
"length": "10.0",
"width": "10.0",
"height": "10.0",
"package_protected": true,
"declared_value": 100,
"protection_value": 100
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.