GET Catering Lead

​

Returns one of the signed-in customer's catering leads, so they can see the enquiry they submitted and its current status.

Status is 1 active or 2 declined. Once the brand has turned the lead into a quote, read the quote itself with GET /quotes/{quote_id}.

Path Parameters

  • Lead ID

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Responses

  • application/json
  • Missing or invalid customer token.

  • No such lead for this customer.

Request Example for get/leads/{lead_id}
curl https://api-public-demo.menu.app/api/leads/91 \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200,
  "data": {
    "lead": {
      "id": 91,
      "brand_id": 12,
      "order_type": 10,
      "created_by": "customer",
      "status": 1,
      "is_qualified": true,
      "event_info": {
        "event_type": "wedding",
        "party_size": 40
      }
    }
  }
}