Skip to main content

Path Parameters

locationId
string
required
The unique identifier for the restaurant location
cartId
string
required
The unique identifier for the cart to validate

Request Body

customerName
string
required
Customer’s full name for order validation
emailAddress
string
Customer’s email address (either email or phone required)
phoneNumber
string
Customer’s phone number (either email or phone required)
{
  "customerName": "John Smith",
  "emailAddress": "john.smith@example.com"
}
{
  "success": true
}
This endpoint performs comprehensive validation including: item availability, pricing accuracy, fulfillment method validity, and customer information completeness. Either emailAddress or phoneNumber must be provided along with customerName. The cart is updated with the latest information during validation.