Authorizations
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.
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.
Query Parameters
If supplied, will only return more hours that are available for the specified business category. If not supplied, the business' main category will be used.
"gcid:restaurant"
If supplied, will only return more hours that are available in the specified country. - use ISO 3166 alpha2 code ("FR", "EN", "IT"). If not supplied, the country from the business' address will be used.
Response
OK
[
{
"gmb_id": "KITCHEN",
"value": {
"monday": ["08:00-15:00", "18:00-23:00"],
"tuesday": ["08:00-15:00", "18:00-23:00"],
"wednesday": ["08:00-15:00", "18:00-23:00"],
"thursday": ["08:00-15:00", "18:00-23:00"],
"friday": ["08:00-15:00", "18:00-23:00"],
"saturday": ["08:00-15:00", "18:00-23:00"],
"sunday": ["08:00-15:00", "18:00-23:00"]
}
},
{
"gmb_id": "LUNCH",
"value": {
"monday": ["11:00-15:00"],
"tuesday": ["11:00-15:00"],
"wednesday": ["11:00-15:00"],
"thursday": ["11:00-15:00"],
"friday": ["11:00-15:00"],
"saturday": [],
"sunday": []
}
}
]