action just_eat_put_attempted_delivery_query_resolved { label: "Attempted delivery query resolved" description: "This webhook will be invoked whenever an attempted delivery query has been resolved." provider: just_eat method: PUT path: "/attempted-delivery-query-resolved" encoding: json input: { type: "object" properties: { OrderId: { type: "string" description: "The ID of the order for which an attempted delivery query has been resolved" } Resolution: { type: "object" description: "Details of the resolution to the query" properties: { Cancellation: { type: "object" description: "The cancellation properties. Only required if the order has been cancelled, otherwise null" properties: { Reason: { type: "string" description: "The reason for cancelling the order" enum: ["new_address_not_within_area", "unable_to_reprepare", "driver_not_available", "area_unsafe", "customer_doesnt_want_anymore"] } } } Redelivery: { type: "object" description: "The redelivery properties. Only required if the order is being redelivered, otherwise null" properties: { CustomerTimeZone: { type: "string" description: "The IANA TZ database name of the time zone the customer that placed the order is in" } NewDueDate: { type: "string" format: "date-time" description: "Updated due date for delivery of the order in ISO 8601 format" } Status: { type: "string" description: "The current status of the order" enum: ["driver_at_address", "repreparing"] } } } Type: { type: "string" description: "The type of resolution to the query, either cancellation or redelivery" enum: ["order_cancelled", "redeliver_order"] } } } Tenant: { type: "string" description: "The tenant of the restaurant the order was placed at" enum: ["uk", "dk", "es", "ie", "it", "no", "au", "nz"] } } } output: { type: "object" additionalProperties: true } }