Cancelar entrega sin pedido

Changed on

Cancela una entrega sin pedido de la marca y los locales autorizados, sujeto al estado y reglas vigentes. Afecta solo el despacho de Justo Delivery; no cancela pedidos de Justo Ecommerce porque estas entregas no tienen un pedido ecommerce asociado. Si existe cargo asociado sin payout, se anula en finanzas.

post/admin/deliveries/{deliveryId}/cancel

Request

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

Path parameters

deliveryIdstring required

ID Justo, specialCode o externalId de la entrega sin pedido.

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

    • 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