action just_eat_get_delivery_fees_tenant { label: "Get restaurant delivery fees" description: "Retrieve delivery fees for many restaurants. Returns fees and minimum order values required for delivery orders." provider: just_eat method: GET path: "/delivery-fees/{tenant}" encoding: json input: { type: "object" properties: { deliveryTime: { type: "string" format: "date-time" } latlong: { type: "array" items: { type: "number" format: "double" } } restaurantIds: { type: "array" items: { type: "string" } } tenant: { type: "string" } zone: { type: "string" } } required: ["deliveryTime", "restaurantIds", "tenant"] additionalProperties: false } output: { type: "object" properties: { restaurants: { type: "array" description: "Collection of restaurants for which delivery fees were found." items: { type: "object" properties: { bands: { type: "array" description: "Collection of delivery fee bands" items: { type: "object" properties: { fee: { type: "number" format: "integer" description: "The delivery fee, in the smallest unit of local currency (e.g. pence)." } minimumAmount: { type: "number" format: "integer" description: "The minimum order value (excluding fees) when this fee band applies. The fee with the highest `minimumAmount` that is less than or equal to order value applies. This is in the smallest unit of local currency (e.g. pence)." } } } } minimumOrderValue: { type: "number" format: "integer" description: "The minimum order value (excluding fees) required, in the smallest unit of local currency (e.g. pence)." } restaurantId: { type: "string" description: "The identifier of the restaurant" } } } } } } }