Cotizar

El endpoint de cotización nos permite obtener los precios y opciones de envío.

En cada cotización, se deberá indicar la cuenta, el origen, destino, valor declarado del envío y detalle de paquetes. Con respecto al origen, éste debe haber sido creado previamente.

El Request

Para hacer el request hay tres variantes para informar la carga a despachar, una basada en items sueltos (variante recomendada), una basada paquetes personalizados (sin detalle de items), y otra basada en paquetes con items específicos. El vendedor puede usar cualquiera de estas incluso combinar las mismas en el mismo llamado.

Cotizar en base a items sueltos

Se debe usar esta opción cuando se quiere indicar unidades de productos vendidas y se quiere dejar en Zippin la decisión de cómo armar paquetes para poder despachar esos items. Ésta modalidad hace uso de la funcionalidad de cajas. Ver cómo funciona el empaquetado automático y la configuración de cajas.

En esta variante se debe enviar un array items con cada item que compondrá el envio. Un item es una unidad de un producto, que se podrá agrupar con otros items en una o mas cajas o paquetes. Luego, cada paquete resultante tendrá su propia etiqueta.

Cotizar en base a paquetes personalizados

Se debe usar esta opción cuando se quiere indicar específicamente el detalle de los paquetes finales a despachar. Un paquete es un bulto que tendrá su propia etiqueta. Un envío puede estar compuesto de uno o más bultos. A su vez, cada bulto puede tener adentro multiples items, pero para este modo de cotización es irrelevante.

En esta variante se debe enviar un array packages con cada paquete que compondrá el envio.

Cotizar en base a paquetes con items específicos

Se debe usar esta opción cuando se quiere indicar específicamente cómo se agrupan los items a despachar. Un paquete es un bulto que tendrá su propia etiqueta. Un envío puede estar compuesto de uno o más bultos. A su vez, cada bulto puede tener adentro multiples items. También se podrá definir opcionalmente dentro de que caja se agruparán los items o dejar que el sistema determine automáticamente la más adecuada (Ver cómo funciona el empaquetado automático y la configuración de cajas.).

En esta variante se debe enviar un array packages con cada paquete que compondrá el envío. A su vez, cada bulto puede tener adentro multiples items, que deberán ser definidos de forma especifica creando un array items dentro de cada package informado.


POST /shipments/quote
Parámetros para la URL:
sort_by string Opcional. Para indicar el ordenamiento de los resultados. Opciones:
price Ordena por menor a mayor precio
rating Ordena por mejor a peor nivel de servicio
time Ordena por menor a mayor tiempo de entrega
Parámetros para el body:
account_id int ID de la cuenta
origin_id int ID de algún origen de la cuenta. Ver Origenes
declared_value decimal Valor declarado del envío Ej: 200.50
packages array de Packages (objetos).
weight int Peso en gramos
height
length
width
int Medidas del paquete, en centímetros
classification_id int 1 General
2 Colchones

description_1 string Descripcion del contenido del paquete
description_2 string Descripcion del contenido del paquete Opcional
description_3 string Descripcion del contenido del paquete Opcional
items array Opcional. Para especificar los Items de un paquete. Si se usa, no de se debe indicar SKU y no es necesario indicar ninguno de los otros atributos del paquete. Misma estructura que el array de Items siguiente.
container_id int Opcional. Para especificar la caja donde se agruparán los items del paquete. Si se usa, deben estar especificados los items del paquete.
items array de Items (objetos).
sku string SKU del item Se intentará vincular a un SKU cargado en el catalogo de Zippin.
description string Descripcion del item - nombre del producto Opcional
weight int Peso en gramos
height
length
width
int Medidas del item, en centímetros
classification_id int 1 General
2 Colchones

destination object
city string Ciudad/Localidad Ej. San Miguel de Tucuman
state string Provincia Ej. Tucuman
zipcode int Código postal Ej. 4500


El response

En el response nos encontraremos dos bloques:

El primer array, results, contiene un resultado ganador de cotización por cada tipo de servicio. El mismo será el resultado ganador de la cotización dependiendo de la configuración de la cuenta o el parámetro opcional sort_by. La clave del array será el código de cada tipo de servicio, y en el detalle estará la información del transporte ganador.

En el segundo array, all_results, se proveen todos los resultados de transportes posibles. También se puede modificar el orden de estos resultados con el parámetro sort_by en el query string.


Response (estructura de cada resultado)
selectable bool Si el resultado es seleccionable o no.
impediments null o array Posibles limitaciones para crear el envio cuando selectable sea false.
logistic_type string Forma de despacho del resultado de cotizacion. Se deberáindicar en la creación del envío.
carrier
id int ID del transporte. Se deberá indicar en la creación del envío.
name string Nombre del transporte
rating decimal Puntaje del nivel de servicio del transporte. 0%-100%
logo string URL del logo del transporte
amounts
price decimal Precio sin IVA
price_incl_tax decimal Precio con IVA
delivery_time
min int Tiempo de entrega mínimo, en días hábiles
max int Tiempo de entrega máximo, en días hábiles
service_type
id int ID del tipo de servicio
code string Código del tipo de servicio. Se deberá indicar en la creación del envío.
name string Nombre del servicio
is_urgent bool Si el servicio es urgente o no.
pickup_points (atributos por cada item del array)
point_id string ID del pickup point. Deberas guardarlo para enviarlo a la hora de crear el envío.
description string Nombre del punto
open_hours string Horarios de apertura
phone string Telefono del punto.
location object Datos del punto

Ejemplo cotizacion por paquetes cerrados:

POST https://api.zippin.com.ar/v2/shipments/quote

{
	"account_id": "2",
	"origin_id": "25",
	"declared_value": 629,
	"packages": [
		{
			"classification_id": 1,
			"weight": 10000,
			"height": 10,
			"width": 50,
			"length": 30,
			"description_1": "Mueble para armar bulto 1"
		},
		{
			"classification_id": 1,
			"weight": 8000,
			"height": 10,
			"width": 60,
			"length": 20,
			"description_1": "Mueble para armar bulto 2"
		}
	],
	"destination": {
		"zipcode": "1642",
		"city": "san isidro",
		"state": "buenos aires"
	}
}


RESPONSE 200
{
  "sorted_by": "price",
  "destination": {
    "id": 1735,
    "city": "San Isidro",
    "state": "Buenos Aires",
    "zipcode": "1642"
  },
  "packages": [
    {
      "weight": 10000,
      "height": 10,
      "width": 50,
      "length": 30,
      "volume": 15000,
      "sku_id": null,
      "classification_id": 1,
      "items": [],
      "container": null
    },
    {
      "weight": 8000,
      "height": 10,
      "width": 60,
      "length": 20,
      "volume": 12000,
      "sku_id": null,
      "classification_id": 1,
      "items": [],
      "container": null
    }
  ],
  "results": {
    "standard_delivery": {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 205,
        "name": "Leset",
        "rating": 0.95,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/leset\/9Bw6vmnLH2ZUvKTdAcQtqJRkvkZdJTqcPlR9nwYU.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 3,
        "max": 7
      },
      "amounts": {
        "price_shipment": 315.79,
        "price_insurance": 8.18,
        "price": 323.97,
        "price_incl_tax": 392
      },
      "rate": {
        "source": "tariff",
        "id": 12957,
        "tariff_id": 71
      },
      "tags": [
        "cheapest",
        "fastest"
      ]
    }
  },
  "all_results": [
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 205,
        "name": "Leset",
        "rating": 0.95,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/leset\/9Bw6vmnLH2ZUvKTdAcQtqJRkvkZdJTqcPlR9nwYU.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 3,
        "max": 7
      },
      "amounts": {
        "price_shipment": 315.79,
        "price_insurance": 8.18,
        "price": 323.97,
        "price_incl_tax": 392
      },
      "rate": {
        "source": "tariff",
        "id": 12957,
        "tariff_id": 71
      },
      "tags": [
        "cheapest",
        "fastest"
      ]
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 220,
        "name": "Malargue",
        "rating": 0.94,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/malargue\/gzHM0KZOWMtDbd0svUiRJpiExH9uIQsAa3n8auke.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 10
      },
      "amounts": {
        "price_shipment": 725.7,
        "price_insurance": 8.18,
        "price": 733.88,
        "price_incl_tax": 888
      },
      "rate": {
        "source": "tariff",
        "id": 13050,
        "tariff_id": 113
      },
      "tags": []
    }
  ]
}

Ejemplo cotización por paquetes con items específicos:

POST https://api.zippin.com.ar/v2/shipments/quote

{
	"account_id": "2",
	"origin_id": "25",
	"declared_value": 629,
  "packages": [
        {
            "sku_id": null,
            "weight": null,
            "height": null,
            "width": null,
            "length": null,
            "description_1": "Mueble para armar",
            "description_2": null,
            "description_3": null,
            "classification_id": 1,
            "items": [
                {
                    "weight": 500,
                    "height": 8,
                    "width": 8,
                    "length": 8,
                    "sku": "MUE001-1"
                },
                {
                    "weight": 500,
                    "height": 8,
                    "width": 8,
                    "length": 8,
                    "sku": "MUE001-2"
                }
            ],
            "container_id": 1,
        }
    ]
	"destination": {
		"zipcode": "1642",
		"city": "san isidro",
		"state": "buenos aires"
	}
}


RESPONSE 200
{
  "sorted_by": "price",
  "destination": {
    "id": 1735,
    "city": "San Isidro",
    "state": "Buenos Aires",
    "zipcode": "1642"
  },
  "packages": [
  {
  "internal_id": 148121,
  "sku_id": null,
  "weight": 1100,
  "height": 12,
  "width": 20,
  "length": 17,
  "volume": 4080,
  "description_1": "2 productos",
  "description_2": "Mueble para armar",
  "description_3": null,
  "classification": {
      "id": 1,
      "name": "General"
  },
  "items": [
      {
      "sku": null,
      "description": "Mueble Parte 1",
      "must_keep_vertical": 0,
      "weight": 500,
      "width": 8,
      "length": 8,
      "height": 8,
      "pos_x": 0,
      "pos_y": 0,
      "pos_z": 0
      },
      {
      "sku": null,
      "description": "Mueble Parte 2",
      "must_keep_vertical": 0,
      "weight": 500,
      "width": 8,
      "length": 8,
      "height": 8,
      "pos_x": 8,
      "pos_y": 0,
      "pos_z": 0
      }
  ],
  "container": {
      "id": 1,
      "description": "Caja mediana 1",
      "outer_width": 20,
      "outer_height": 12,
      "outer_length": 17,
      "inner_width": 19,
      "inner_length": 16,
      "inner_height": 11,
      "max_weight": 5000
  }
  }
]
  "results": {
    "standard_delivery": {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 205,
        "name": "Leset",
        "rating": 0.95,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/leset\/9Bw6vmnLH2ZUvKTdAcQtqJRkvkZdJTqcPlR9nwYU.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 3,
        "max": 7
      },
      "amounts": {
        "price_shipment": 315.79,
        "price_insurance": 8.18,
        "price": 323.97,
        "price_incl_tax": 392
      },
      "rate": {
        "source": "tariff",
        "id": 12957,
        "tariff_id": 71
      },
      "tags": [
        "cheapest",
        "fastest"
      ]
    }
  },
  "all_results": [
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 205,
        "name": "Leset",
        "rating": 0.95,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/leset\/9Bw6vmnLH2ZUvKTdAcQtqJRkvkZdJTqcPlR9nwYU.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 3,
        "max": 7
      },
      "amounts": {
        "price_shipment": 315.79,
        "price_insurance": 8.18,
        "price": 323.97,
        "price_incl_tax": 392
      },
      "rate": {
        "source": "tariff",
        "id": 12957,
        "tariff_id": 71
      },
      "tags": [
        "cheapest",
        "fastest"
      ]
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 220,
        "name": "Malargue",
        "rating": 0.94,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/malargue\/gzHM0KZOWMtDbd0svUiRJpiExH9uIQsAa3n8auke.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 10
      },
      "amounts": {
        "price_shipment": 725.7,
        "price_insurance": 8.18,
        "price": 733.88,
        "price_incl_tax": 888
      },
      "rate": {
        "source": "tariff",
        "id": 13050,
        "tariff_id": 113
      },
      "tags": []
    }
  ]
}

Ejemplo cotizacion por items:

POST https://api.zippin.com.ar/v2/shipments/quote

{
	"account_id": "2",
	"origin_id": "25",
	"declared_value": 1000,
	"items": [
		{
			"description": "Perfume Givenchy 200ml",
			"weight": 210,
			"height": 10,
			"width": 5,
			"length": 7
		},
		{
			"description": "Perfume Carolina Herrera 50ml",
			"weight": 55,
			"height": 8,
			"width": 4,
			"length": 7
		}
	],
	"destination": {
		"zipcode": "4400",
		"city": "Salta",
		"state": "Salta"
	}
}


RESPONSE 200
{
  "sorted_by": "price",
  "destination": {
    "id": 13628,
    "city": "Salta",
    "state": "Salta",
    "zipcode": "4400"
  },
  "packages": [
    {
      "weight": 365,
      "height": 9,
      "width": 15,
      "length": 12,
      "volume": 1620,
      "sku_id": null,
      "classification_id": 1,
      "items": [
        {
          "sku_id": null,
          "description": "Perfume Givenchy 200ml",
          "weight": 210,
          "must_keep_vertical": false,
          "width": 5,
          "length": 10,
          "height": 7,
          "pos_x": 0,
          "pos_y": 0,
          "pos_z": 0
        },
        {
          "sku_id": null,
          "description": "Perfume Carolina Herrera 50ml",
          "weight": 55,
          "must_keep_vertical": false,
          "width": 7,
          "length": 4,
          "height": 8,
          "pos_x": 5,
          "pos_y": 0,
          "pos_z": 0
        }
      ],
      "container": {
        "id": 2,
        "description": "Caja Mediana 2",
        "inner_width": 14,
        "inner_length": 11,
        "inner_height": 8,
        "outer_width": 15,
        "outer_length": 12,
        "outer_height": 9,
        "empty_weight": 100,
        "max_weight": 3000
      }
    }
  ],
  "results": {
    "standard_delivery": {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 217,
        "name": "Lo Bruno",
        "rating": 0.94,
        "logo": "https:\/\/zippin-test.s3.amazonaws.com\/carriers\/lo-bruno\/j5z2xiWrpRN3wr28e4UBvY9cDZeARqVVlDFYj1rN.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 8,
        "max": 19
      },
      "amounts": {
        "price_shipment": 324.19,
        "price_insurance": 13,
        "price": 337.19,
        "price_incl_tax": 408
      },
      "rate": {
        "source": "tariff",
        "id": 12085,
        "tariff_id": 106
      },
      "tags": [
        "cheapest"
      ]
    }
  },
  "all_results": [
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 217,
        "name": "Lo Bruno",
        "rating": 0.94,
        "logo": "https:\/\/zippin-test.s3.amazonaws.com\/carriers\/lo-bruno\/j5z2xiWrpRN3wr28e4UBvY9cDZeARqVVlDFYj1rN.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 8,
        "max": 19
      },
      "amounts": {
        "price_shipment": 324.19,
        "price_insurance": 13,
        "price": 337.19,
        "price_incl_tax": 408
      },
      "rate": {
        "source": "tariff",
        "id": 12085,
        "tariff_id": 106
      },
      "tags": [
        "cheapest"
      ]
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 199,
        "name": "FastMail",
        "rating": 0.93,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/fastmail\/BrTfB66lrJL81iod4AHexEb0lSyuiaZWvKAYuuHn.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 7,
        "max": 11
      },
      "amounts": {
        "price_shipment": 363.03,
        "price_insurance": 13,
        "price": 376.03,
        "price_incl_tax": 455
      },
      "rate": {
        "source": "tariff",
        "id": 12577,
        "tariff_id": 53
      },
      "tags": []
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 208,
        "name": "OCA",
        "rating": 0.89,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/oca\/aLab6HCfv1UmADtKn2Gnl8ZucTYroDIxIS5mVN7m.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 6,
        "max": 14
      },
      "amounts": {
        "price_shipment": 436.59,
        "price_insurance": 13,
        "price": 449.59,
        "price_incl_tax": 544
      },
      "rate": {
        "source": "tariff",
        "id": 13035,
        "tariff_id": 77
      },
      "tags": []
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 201,
        "name": "CCCargas",
        "rating": 0.81,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/cccargas\/dM1jx0C57D1BKGMVDCLhJiDwP9PT0QErxkHyPUYK.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 6,
        "max": 10
      },
      "amounts": {
        "price_shipment": 1539.07,
        "price_insurance": 13,
        "price": 1552.07,
        "price_incl_tax": 1878
      },
      "rate": {
        "source": "tariff",
        "id": 12463,
        "tariff_id": 60
      },
      "tags": []
    }
  ]
}

Ejemplo cotizacion por items con resultados de pickup points:

POST https://api.zippin.com.ar/v2/shipments/quote

{
	"account_id": "2",
	"origin_id": "25",
	"declared_value": 864.70,
	"destination": {
		"city": "Cordoba",
		"state": "Cordoba",
		"zipcode": "5000"
	},
	"items": [
		{
			"classification_id": 1,
			"description": "Especias & Condimentos 1854 - Set 3 molinillos premium",
			"height": 38,
			"length": 6,
			"weight": 530,
			"width": 27
		},
		{
			"classification_id": 1,
			"description": "Especias & Condimentos 1855 - Set 3 molinillos premium",
			"height": 38,
			"length": 6,
			"weight": 530,
			"width": 27
		}
	],
	"sort_by": "price"
}


RESPONSE 200
{
  "sorted_by": "price",
  "destination": {
    "id": 4307,
    "city": "Cordoba",
    "state": "Cordoba",
    "zipcode": "5000",
    "geolocation": {
      "lat": -31.3992876,
      "lng": -64.264384
    }
  },
  "packages": [
    {
      "weight": 530,
      "height": 38,
      "width": 27,
      "length": 6,
      "volume": 6156,
      "sku_id": null,
      "classification_id": 1,
      "items": [
        {
          "sku_id": null,
          "description": "Especias & Condimentos 1854 - Set 3 molinillos premium",
          "weight": 530,
          "must_keep_vertical": false,
          "width": 27,
          "length": 6,
          "height": 38
        }
      ],
      "container": null
    },
    {
      "weight": 530,
      "height": 38,
      "width": 27,
      "length": 6,
      "volume": 6156,
      "sku_id": null,
      "classification_id": 1,
      "items": [
        {
          "sku_id": null,
          "description": "Especias & Condimentos 1855 - Set 3 molinillos premium",
          "weight": 530,
          "must_keep_vertical": false,
          "width": 27,
          "length": 6,
          "height": 38
        }
      ],
      "container": null
    }
  ],
  "results": {
    "standard_delivery": {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 2,
        "name": "Andesmar",
        "rating": 0.93,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/andesmar\/BjfyAspVpfFSo3VTSiHrSwJWtsbXRLbYBM6DNl7Z.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 16
      },
      "amounts": {
        "price_shipment": 256.45,
        "price_insurance": 12.97,
        "price": 269.42,
        "price_incl_tax": 326
      },
      "rate": {
        "source": "tariff",
        "id": 13351,
        "tariff_id": 19
      },
      "tags": [
        "cheapest"
      ]
    },
    "pickup_point": {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 208,
        "name": "OCA",
        "rating": 0.88,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/oca\/aLab6HCfv1UmADtKn2Gnl8ZucTYroDIxIS5mVN7m.png"
      },
      "service_type": {
        "id": 9,
        "code": "pickup_point",
        "name": "Entrega en punto de entrega",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 6
      },
      "amounts": {
        "price_shipment": 320.09,
        "price_insurance": 12.97,
        "price": 333.06,
        "price_incl_tax": 403
      },
      "rate": {
        "source": "tariff",
        "id": null,
        "tariff_id": 267
      },
      "tags": [],
      "pickup_points": [
        {
          "point_id": 68,
          "description": "Sucursal OCA - Cordoba (Cor)",
          "open_hours": null,
          "phone": "0351-4729312",
          "location": {
            "street": "La Rioja",
            "street_number": "1142",
            "street_extras": null,
            "city": "Cordoba",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.4067834,
              "lng": -64.1977216,
              "distance": 6377
            }
          }
        },
        {
          "point_id": 67,
          "description": "Sucursal OCA - Cordoba (Coa)",
          "open_hours": null,
          "phone": "0351-4215903",
          "location": {
            "street": "Juan B. Justo",
            "street_number": "5278",
            "street_extras": null,
            "city": "Cordoba",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.361705,
              "lng": -64.175718,
              "distance": 9390
            }
          }
        },
        {
          "point_id": 72,
          "description": "Sucursal OCA - Villa Carlos Paz",
          "open_hours": null,
          "phone": "03541-424205",
          "location": {
            "street": "Uruguay",
            "street_number": "108",
            "street_extras": null,
            "city": "Villa Carlos Paz",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.415151,
              "lng": -64.502096,
              "distance": 22634
            }
          }
        }
      ]
    }
  },
  "all_results": [
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 2,
        "name": "Andesmar",
        "rating": 0.93,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/andesmar\/BjfyAspVpfFSo3VTSiHrSwJWtsbXRLbYBM6DNl7Z.png"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 16
      },
      "amounts": {
        "price_shipment": 256.45,
        "price_insurance": 12.97,
        "price": 269.42,
        "price_incl_tax": 326
      },
      "rate": {
        "source": "tariff",
        "id": 13351,
        "tariff_id": 19
      },
      "tags": [
        "cheapest"
      ]
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 208,
        "name": "OCA",
        "rating": 0.88,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/oca\/aLab6HCfv1UmADtKn2Gnl8ZucTYroDIxIS5mVN7m.png"
      },
      "service_type": {
        "id": 9,
        "code": "pickup_point",
        "name": "Entrega en punto de entrega",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 6
      },
      "amounts": {
        "price_shipment": 320.09,
        "price_insurance": 12.97,
        "price": 333.06,
        "price_incl_tax": 403
      },
      "rate": {
        "source": "tariff",
        "id": null,
        "tariff_id": 267
      },
      "tags": [],
      "pickup_points": [
        {
          "point_id": 68,
          "description": "Sucursal OCA - Cordoba (Cor)",
          "open_hours": null,
          "phone": "0351-4729312",
          "location": {
            "street": "La Rioja",
            "street_number": "1142",
            "street_extras": null,
            "city": "Cordoba",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.4067834,
              "lng": -64.1977216,
              "distance": 6377
            }
          }
        },
        {
          "point_id": 67,
          "description": "Sucursal OCA - Cordoba (Coa)",
          "open_hours": null,
          "phone": "0351-4215903",
          "location": {
            "street": "Juan B. Justo",
            "street_number": "5278",
            "street_extras": null,
            "city": "Cordoba",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.361705,
              "lng": -64.175718,
              "distance": 9390
            }
          }
        },
        {
          "point_id": 72,
          "description": "Sucursal OCA - Villa Carlos Paz",
          "open_hours": null,
          "phone": "03541-424205",
          "location": {
            "street": "Uruguay",
            "street_number": "108",
            "street_extras": null,
            "city": "Villa Carlos Paz",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.415151,
              "lng": -64.502096,
              "distance": 22634
            }
          }
        }
      ]
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 4,
        "name": "Cruz del Sur",
        "rating": 0.95,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/cruz-del-sur\/mookA5rGZoOFEsjsydS9q2MEFPbgV29HO0amToyJ.jpeg"
      },
      "service_type": {
        "id": 1,
        "code": "standard_delivery",
        "name": "Entrega a domicilio",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 5,
        "max": 13
      },
      "amounts": {
        "price_shipment": 354.8,
        "price_insurance": 12.97,
        "price": 367.77,
        "price_incl_tax": 445
      },
      "rate": {
        "source": "tariff",
        "id": 13617,
        "tariff_id": 171
      },
      "tags": []
    },
    {
      "selectable": true,
      "impediments": null,
      "logistic_type": "crossdock",
      "carrier": {
        "id": 4,
        "name": "Cruz del Sur",
        "rating": 0.95,
        "logo": "https:\/\/zippin-ar.s3.amazonaws.com\/carriers\/cruz-del-sur\/mookA5rGZoOFEsjsydS9q2MEFPbgV29HO0amToyJ.jpeg"
      },
      "service_type": {
        "id": 9,
        "code": "pickup_point",
        "name": "Entrega en punto de entrega",
        "is_urgent": 0
      },
      "delivery_time": {
        "min": 3,
        "max": 5
      },
      "amounts": {
        "price_shipment": 354.8,
        "price_insurance": 12.97,
        "price": 367.77,
        "price_incl_tax": 445
      },
      "rate": {
        "source": "tariff",
        "id": null,
        "tariff_id": 287
      },
      "tags": [
        "fastest"
      ],
      "pickup_points": [
        {
          "point_id": 12,
          "description": "Sucursal Córdoba",
          "open_hours": "08:00 - 19:00",
          "phone": "(0351) 450 8563",
          "location": {
            "street": "Av. Gral. Savio",
            "street_number": "5740",
            "street_extras": "Portones 46\/47, Complejo Logístico Sur",
            "city": "Ferreyra",
            "state": "Cordoba",
            "geolocation": {
              "lat": -31.46061,
              "lng": -64.12101,
              "distance": 15218
            }
          }
        }
      ]
    }
  ]
}