action just_eat_post_orders_tenant_order_id_restaurantqueries_compensation { label: "Create Compensation requests" description: "When an order is cancelled the restaurant might be eligible for compensation, this endpoint allows a request for compensation to be created." provider: just_eat method: POST path: "/orders/{tenant}/{orderId}/restaurantqueries/compensation" encoding: json input: { type: "object" properties: { Authorization: { type: "string" } Comments: { type: "string" description: "Any other comments to add to the request" } ReasonCode: { type: "string" description: "The reason why compensation is due" enum: ["NotSet", "BeingPrepared", "OnItsWay", "Delivered", "Unknown"] } orderId: { type: "string" } tenant: { type: "string" } } required: ["Authorization", "orderId", "tenant"] additionalProperties: false } output: { type: "object" additionalProperties: true } }