action just_eat_post_order_cancelled { label: "Order cancelled" description: "This webhook will be invoked whenever the order was cancelled." provider: just_eat method: POST path: "/order-cancelled" encoding: json input: { type: "object" properties: { Event: { type: "string" } OrderId: { type: "string" } Reason: { type: "string" description: "The reason the order was cancelled." enum: ["cust_cancelled_changed_mind", "cust_cancelled_delivery_too_long", "cust_cancelled_made_mistake", "cust_cancelled_other", "delivery_partner_cancelled", "rest_cancelled_customer_absent", "rest_cancelled_customer_requested", "rest_cancelled_declined", "rest_cancelled_drivers_unavailable", "rest_cancelled_fake_order", "rest_cancelled_other", "rest_cancelled_out_of_stock", "rest_cancelled_too_busy", "system_cancelled_other", "system_cancelled_test_order"] } } } output: { type: "object" additionalProperties: true } }