Skip to main content
POST
/
business
/
{business_id}
/
food_menus
Set Google Food Menus for your business
curl --request POST \
  --url https://api.partoo.co/v2/business/{business_id}/food_menus \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "menus": [
    {
      "name": "Starters",
      "order": 1,
      "items": [
        {
          "name": "Starter 1",
          "order": 1,
          "description": "First starter of the food menu",
          "price": 1,
          "media": {
            "source_url": "https://www.source_url.com/main_dishes",
            "public_url": "https://www.partoo_url.com/main_dishes"
          }
        },
        {
          "name": "Starter 2",
          "order": 2,
          "description": "Second starter of the food menu",
          "price": 5
        }
      ]
    },
    {
      "name": "Main dishes",
      "order": 2,
      "items": [
        {
          "name": "Today'\''s special",
          "order": 1,
          "description": "Today'\''s special description",
          "price": 25,
          "media": {
            "source_url": "https://www.source_url.com/main_dishes",
            "public_url": "https://www.partoo_url.com/main_dishes"
          }
        }
      ]
    }
  ]
}'
{
  "menus": [
    {
      "name": "Starters",
      "order": 1,
      "items": [
        {
          "name": "Starter 1",
          "order": 1,
          "description": "First starter of the food menu",
          "price": 1,
          "media": {
            "source_url": "https://www.source_url.com/main_dishes",
            "public_url": "https://www.partoo_url.com/main_dishes"
          }
        },
        {
          "name": "Starter 2",
          "order": 2,
          "description": "Second starter of the food menu",
          "price": 5
        }
      ]
    },
    {
      "name": "Main dishes",
      "order": 2,
      "items": [
        {
          "name": "Today's special",
          "order": 1,
          "description": "Today's special description",
          "price": 25,
          "media": {
            "source_url": "https://www.source_url.com/main_dishes",
            "public_url": "https://www.partoo_url.com/main_dishes"
          }
        }
      ]
    }
  ]
}

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

business_id
string
required

Business id.

It may be replaced by c-{code} where code is the store code, which should be unique per organization. This can be used only for ORG_ADMIN, GROUP_MANAGER and BUSINESS_MANAGER users.

Body

application/json

A Google food menu for business.

menus
object[]

Response

OK

A Google food menu for business.

menus
object[]