Crear entrega sin pedido

Changed on

Crea una entrega sin pedido para la marca y el local autorizados. Solicita logística y puede generar cargos, sin crear ni asociar un pedido de Justo Ecommerce. Requiere origen, destino, local y contactos. tipAmount registra la propina por separado del precio del despacho. La cotización previa es una estimación: no se guarda un quoteId ni se reserva el precio; al crear se aplican los precios y validaciones vigentes. confirmation=true acepta el aviso de costo definido por el local, no fija el total cotizado. Para evitar duplicados al reintentar, conservar el mismo externalId, storeId y marca; un externalId identifica una solicitud, no una nueva entrega. Sin externalId, no repetir una creación cuyo resultado sea incierto: consultar primero el listado.

post/admin/deliveries

Request

  • Base URL
    https://api.service.getjusto.com/v3
  • Auth
    none declared

Request body

OR

Example request

{
  "fromAddress": {
    "countryCode": "CL"
  },
  "toAddress": {
    "countryCode": "CL"
  }
}

Response

The OpenAPI spec

successboolean

Example response

{
  "success": true,
  "data": {
    "location": {
      "updatedAt": "2020-01-01T00:00:00.000Z"
    },
    "createdAt": "2020-01-01T00:00:00.000Z",
    "forDate": "2020-01-01T00:00:00.000Z",
    "canceledAt": "2020-01-01T00:00:00.000Z",
    "completedAt": "2020-01-01T00:00:00.000Z"
  }
}

Changes

    • warning

      added the new false enum value to the response property for the response status

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • warning

      the request property's min was set to 0.00

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status