Skip to main content
GET
/
user
/
{user_id}
/
businesses
User businesses
curl --request GET \
  --url https://api.partoo.co/v2/user/{user_id}/businesses \
  --header 'x-APIKey: <api-key>'
{
  "page": 1,
  "max_page": 10,
  "count": 287,
  "businesses": [
    {
      "id": "5409c35a97bbc544d8e26737",
      "created": 1409925979.5,
      "modified": 1561335111.681374,
      "code": "CS-75019",
      "status": "open",
      "org_id": 42,
      "group_id": 23,
      "name": "Corner shop",
      "address": "<string>",
      "address_full": "12 bis rue du coquelicot",
      "address2": "<string>",
      "city": "Paris",
      "zipcode": "75019",
      "region": "Ile-de-France",
      "country": "FR",
      "default_lang": "fr",
      "open_hours": {
        "monday": [
          "10:00-14:00"
        ],
        "tuesday": [
          "10:00-14:00"
        ],
        "wednesday": [
          "10:00-14:00"
        ],
        "thursday": [
          "10:00-14:00"
        ],
        "friday": [
          "10:00-14:00"
        ],
        "saturday": [
          "10:00-14:00"
        ],
        "sunday": [
          "10:00-14:00"
        ]
      },
      "specific_hours": {
        "open": [
          {
            "starts_at": "2020-01-20",
            "ends_at": "2020-01-20",
            "open_hours": [
              "10:00-14:00"
            ]
          }
        ],
        "close": [
          {
            "starts_at": "2020-01-20",
            "ends_at": "2020-01-22"
          }
        ]
      },
      "description_short": "lorem ipsum",
      "description_long": "lorem ipsum dolor sit amet",
      "website_url": "https://www.corner-shop.co/",
      "facebook_url": "https://www.facebook.com/the-corner-shop",
      "twitter_url": "https://www.twitter.com/the-corner-shop",
      "google_location_id": "<string>",
      "facebook_page_id": "<string>",
      "national_identification_number": "<string>",
      "logo_url": "<string>",
      "contacts": [
        {
          "name": "Hubert Bonisseur de la Bath",
          "email": "hubert@oss117.fr",
          "phone_numbers": [
            "+33302060628"
          ],
          "fax": "+33302060629"
        }
      ],
      "photos": {
        "LOGO": "<string>",
        "primary": "<string>",
        "secondary": [
          "<string>"
        ]
      },
      "lat": -3.585993,
      "long": 47.870341,
      "subscriptions": {
        "presence_management": {
          "active": true
        },
        "review_management": {
          "active": true
        },
        "review_booster": {
          "active": false
        },
        "messages": {
          "active": false
        }
      },
      "features": [
        "business_edition",
        "diffusion",
        "review_management",
        "review_invite",
        "messages"
      ],
      "videos": [
        "<string>"
      ],
      "siret": "<string>",
      "completion_rate": 77,
      "news": [
        {
          "description": "<string>"
        }
      ],
      "promos": [
        {
          "title": "<string>",
          "description": "<string>",
          "term_of_use": "<string>",
          "additional_informations": "<string>",
          "begin": 123,
          "end": 123,
          "images": [
            "<string>"
          ],
          "client_offer_url": "<string>",
          "promo_url": "<string>"
        }
      ]
    }
  ]
}

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

user_id
string
required

User id

Response

OK

page
integer

Current page number

Example:

1

max_page
integer

Last page number

Example:

10

count
integer

Number of resources complying with filters

Example:

287

businesses
object[]

User businesses