---
title: "Creates a new restaurant"
method: POST
path: "/restaurants"
tags: ["Restaurant"]
---

# Creates a new restaurant

`POST /restaurants`

Creates a new restaurant

## Request body

- AddRestaurant
  - `name` string, string — restaurant name.
  - `restaurant_id` integer — restaurant id.
  - `email` string — email.
  - `phone` string, string — restaurant phone.
  - `mobile` string, string — restaurant mobile.
  - `mobile_code` string, string — restaurant mobile code.
  - `fax` string, string — restaurant fax.
  - `contact_name` string, string — restaurant contact name.
  - `contact_phone` string, string — restaurant contact phone.
  - `website` string, string — restaurant website.
  - `address1` string, string — restaurant address1.
  - `address` string, string — restaurant address.
  - `zip_code` string, string — zipcode.
  - `city` EditCity
    - `name` string
  - `state` EditState
    - `name` string
  - `country` EditCountry
    - `iso2` string
  - `latitude` number, double — Latitude.
  - `longitude` number, double — Longitude.
  - `sales_tax` number, float — Sales tax
  - `minimum_order_for_booking` number, float — Minmum order booking
  - `is_allow_users_to_door_delivery_order` integer — Allow user door delivery.
  - `estimated_time_to_delivery` integer — Estimated time to delivery.
  - `delivery_charge` number, float — Delivery charge.
  - `delivery_miles` integer — Delivery miles.
  - `image` AddImage
    - `attachment` string — attachment
    - `image_data` string — image_data
  - `cuisine` AddRestaurantCuisine
    - `id` integer — cuisine Id.
  - `restaurant_photos` AddRestaurantPhoto[]
    - `image` string
  - `shop_trading_certificate` AddImage
    - `attachment` string — attachment
    - `image_data` string — image_data

## Response `200`

New restaurant added.

- AddRestaurant
  - `name` string, string — restaurant name.
  - `restaurant_id` integer — restaurant id.
  - `email` string — email.
  - `phone` string, string — restaurant phone.
  - `mobile` string, string — restaurant mobile.
  - `mobile_code` string, string — restaurant mobile code.
  - `fax` string, string — restaurant fax.
  - `contact_name` string, string — restaurant contact name.
  - `contact_phone` string, string — restaurant contact phone.
  - `website` string, string — restaurant website.
  - `address1` string, string — restaurant address1.
  - `address` string, string — restaurant address.
  - `zip_code` string, string — zipcode.
  - `city` EditCity
    - `name` string
  - `state` EditState
    - `name` string
  - `country` EditCountry
    - `iso2` string
  - `latitude` number, double — Latitude.
  - `longitude` number, double — Longitude.
  - `sales_tax` number, float — Sales tax
  - `minimum_order_for_booking` number, float — Minmum order booking
  - `is_allow_users_to_door_delivery_order` integer — Allow user door delivery.
  - `estimated_time_to_delivery` integer — Estimated time to delivery.
  - `delivery_charge` number, float — Delivery charge.
  - `delivery_miles` integer — Delivery miles.
  - `image` AddImage
    - `attachment` string — attachment
    - `image_data` string — image_data
  - `cuisine` AddRestaurantCuisine
    - `id` integer — cuisine Id.
  - `restaurant_photos` AddRestaurantPhoto[]
    - `image` string
  - `shop_trading_certificate` AddImage
    - `attachment` string — attachment
    - `image_data` string — image_data

## Other responses

- `default` — Unexpected error.

---

[API](https://skmtc.net/agriya/apis/ofos-api-endpoints.md) · [All operations](https://skmtc.net/agriya/apis/ofos-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/ofos-api-endpoints/revisions/8db13a44d758/schema)
