Quote a shipment (available couriers)
POST/api/courier
Returns the shipping services available for a pickup address and a destination, with their cost, commission, estimated dates and agencies.
Take the courierServiceId of the chosen service to create the order (POST /api/orders).
Request
Responses
- 200
- 400
- 401
- 500
Available services with their cost
Invalid data. Message format: Error en campo "<campo>": <motivo> (error in field "es requerido y no fue enviado, is required and was not sent), then the format of each field; the first error found is reported.
Reasons per field (in Spanish):
branchAddressId,municipalityCode:debe ser un UUID válido(must be a valid UUID)shippingAmount:debe ser un número válido con hasta dos decimales(must be a valid number with up to two decimals)weight:debe ser un número válido mayor a 0(must be a valid number greater than 0)cantPackages:debe ser un número entero válido mayor a 0(must be a valid integer greater than 0)courierName:es texto, puede ir vacío, no debe exceder 100 caracteres(is text, may be empty, must not exceed 100 characters)typeService:debe ser un string válido(must be a valid string)
The token is missing, expired (it lasts 15 minutes) or invalid. Log in again to get a new one.
Internal error. A 500 is also returned when the body is not valid JSON.