action just_eat_put_restaurants_tenant_restaurant_id_customerclaims_id_restauran { label: "Add reason and comments to the response" description: "Add reason and optional comments in case of rejection of order claim" provider: just_eat method: PUT path: "/restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse/justification" encoding: json input: { type: "object" properties: { "Content-Type": { type: "string" } comments: { type: "string" description: "Comment from the restaurant owner in case they rejected at least one of the items and want to type their own rejection reason" } id: { type: "string" } reason: { type: "string" description: "One of the predefined reasons" enum: ["AlreadyRefunded", "ItemReplaced", "PartialRefundRequired", "WasNotMissing", "WillRedeliver", "OrderWasHot", "OrderWasOnTime", "OrderWasPacked", "FoodWasIntact", "AddExtraItem", "Other"] } restaurantId: { type: "string" } tenant: { type: "string" } } required: ["Content-Type", "id", "restaurantId", "tenant"] additionalProperties: false } output: { type: "object" additionalProperties: true } }