action just_eat_post_acceptance_requested { label: "Acceptance requested" description: "This webhook will be invoked whenever acceptance has been requested for the order." provider: just_eat method: POST path: "/acceptance-requested" encoding: json input: { type: "object" properties: { Currency: { type: "string" } Customer: { type: "object" properties: { Id: { type: "number" } Name: { type: "string" } PreviousRestaurantOrderCount: { type: "number" description: "The customer's previous total number of orders made to this restaurant" } PreviousTotalOrderCount: { type: "number" description: "The customer's previous total number of orders made to all restaurants" } } } CustomerNotes: { type: "object" } FriendlyOrderReference: { type: "string" } Fulfilment: { type: "object" properties: { Address: { type: "object" properties: { City: { type: "string" } Geolocation: { type: "object" properties: { Latitude: { type: "number" format: "double" } Longitude: { type: "number" format: "double" } } } Lines: { type: "array" items: { type: "string" } } PostalCode: { type: "string" } } } CustomerDueAsap: { type: "boolean" } CustomerDueDate: { type: "string" format: "date-time" } Method: { type: "string" enum: ["Delivery", "Collection"] } PhoneMaskingCode: { type: "string" description: "Code to use when calling customer phone masking number about this order. null if phone masking not enabled" } PhoneNumber: { type: "string" description: "Customer phone number (will be phone masking number if enabled)" } PreparationTime: { type: "string" format: "timespan" } } } IsTest: { type: "boolean" } Items: { type: "array" items: { type: "object" properties: { Items: { type: "object" additionalProperties: true } Name: { type: "string" } Quantity: { type: "number" } Reference: { type: "string" } TotalPrice: { type: "number" format: "money" } UnitPrice: { type: "number" format: "money" } } } } OrderId: { type: "string" } Payment: { type: "object" properties: { Lines: { type: "array" items: { type: "object" properties: { Paid: { type: "boolean" } Type: { type: "string" } Value: { type: "number" format: "money" } } } } } } PlacedDate: { type: "string" format: "date-time" } PriceBreakdown: { type: "object" properties: { Discount: { type: "number" format: "money" } Fees: { type: "object" properties: { Delivery: { type: "number" format: "money" } Other: { type: "number" format: "money" } ServiceCharge: { type: "number" format: "money" } } } Items: { type: "number" format: "money" } Taxes: { type: "number" format: "money" } Tips: { type: "number" format: "money" } } } Restaurant: { type: "object" properties: { Address: { type: "object" additionalProperties: true } Id: { type: "string" description: "Restaurant Id" } Name: { type: "string" } PhoneNumber: { type: "string" } Reference: { type: "string" } TimeZone: { type: "string" } } } Restrictions: { type: "array" description: "This is a list of types of restricted items contained in the order." items: { type: "object" properties: { Type: { type: "string" description: "The type of restricted item contained in the order. The only supported value is 'Alcohol'." enum: ["Alcohol"] } } } } TotalPrice: { type: "number" format: "money" } } } output: { type: "object" additionalProperties: true } }