POST Delivery Venues

Find delivery venues

Headers
  • Accept
    Type: string
    required

    Accept header

  • Authorization
    Type: string
    required

    Authorization header

  • Content-Type
    Type: string
    required

    Content-Type header

  • API-VERSION
    Type: string
    required

    API version

  • Application
    Type: string
    required

    Application key

  • X-Request-ID
    Type: string
    required

    Unique request identifier

  • X-QB-Enabled
    enum
    required

    Header which if sent with value 'true' will allow usage of the query building feature in response (through the request's query params). It is mandatory for this part of the documentation.

    values
    • true
    • false
  • Content-Language
    Type: string
    required

    Local language code (in format xx-XX, or simpler xx) for translation purposes

Body
application/json
  • latitude
    Type: number
  • longitude
    Type: number
  • order_type_id
    Type: integer

    Integer numbers.

Responses
  • application/json
Request Example for post/delivery/venues
curl https://api-public-demo.menu.app/api/delivery/venues \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'Application: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937 ' \
  --header 'X-QB-Enabled: true' \
  --header 'Content-Language: en' \
  --data '{
  "latitude": 45.26597499,
  "longitude": 19.83582061,
  "order_type_id": 7
}'
{
  "status": "string",
  "code": 200,
  "data": {
    "delivery_venues": [
      {
        "venue": {
          "id": "b8baafab-3f22-11ed-936c-1a67b454859d",
          "name": "Kauwela Austin 2",
          "code": 23390,
          "timezone": {
            "name": "Europe/Belgrade",
            "offset": "+02:00"
          },
          "translations": {
            "description": "\"\"",
            "kiosk_receipt_footer": "\"\"",
            "welcome_message": "\"\""
          },
          "address": "Test address 1, Austin, Texas",
          "state": 1,
          "city": "Austin",
          "zip": 21000,
          "latitude": 45.266738,
          "longitude": 19.830323,
          "tax_number": "\"\"",
          "phone": "\"\"",
          "price_configuration": {
            "order_types": [
              {
                "type_id": 1,
                "price_configuration": null
              }
            ]
          },
          "cuisine": "\"\"",
          "store_url": "\"\"",
          "is_shown_in_directory": true,
          "allow_item_comments": true,
          "tip_default": 0,
          "tip_max": 0,
          "service_charge": 0,
          "pickup_time": 2,
          "is_pickup_on_open_allowed": true,
          "calculation_method": "inclusive",
          "image": "null",
          "available_payment_methods": [
            {
              "id": 20221,
              "payment_method_id": "027b59de-97cb-48a0-9404-37f426659bad",
              "payment_method_type_id": 1,
              "payment_method_brand": "Visa",
              "payment_processor_type_id": 2,
              "payment_processor_id": "8e5b0340-42bd-4eb8-b06a-836f28fb1f73",
              "properties": {},
              "fraud_detection_processor_id": "null",
              "visibility_scopes": "null"
            }
          ],
          "country": {
            "name": "Serbia",
            "code": "RS",
            "calling_code": "+381",
            "distance_unit": "km",
            "currency_settings": {
              "currency_space": true,
              "decimal_separator": ".",
              "thousands_separator": ".",
              "symbol_position": "left"
            }
          },
          "currency": {
            "id": "589c6caf-2361-42d8-b703-2a87424d1287",
            "code": "EUR",
            "code_numeric": 978,
            "symbol": "€",
            "rounding_unit": 0.01,
            "rounding_unit_tip": 0.01
          },
          "serving_times": [
            {
              "id": "754e3bef-64e2-463b-80c0-10c3a1f275c2",
              "type_id": 2,
              "reference_type": "WeekDays",
              "time_from": "00:30",
              "time_to": "23:00",
              "delivery_at": "00:00",
              "days": [
                1
              ]
            }
          ],
          "menu_id": "1cffdd14-3f23-11ed-936c-1a67b454859d"
        },
        "deliver_now": true,
        "deliver_later": true,
        "relative_time": 7,
        "absolute_time": "2023-04-11 09:39:49",
        "delivery_fee": 444,
        "minimal_order_amount": 800
      }
    ]
  }
}