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.
Query Parameters
Parameter to fuzzy search businesses on city, zipcode and name
Filter by business ids
Business id
Filter by organization id
Filter by groups, using the access logic with the and/or depending on the groups sections
Filter by country - ISO 3166 alpha2 code (i.e. “FR” for France)
Filter by name
Defines the current status of the business.
Open
indicates the business is up and running.Closed
means that the business has definitely closed.Opening Soon
indicates the business is open with an opening date set in the future.Temporarily closed
means that the business is temporarily closed.
⚠️ To get all businesses with the status open
, regardless of whether the opening_date
has passed yet or not, submit both the open
and opening_soon
options in the filter: status=open,opening_soon
.
open
, closed
, opening_soon
, temporarily_closed
"open"
Filter by zipcode
Filter by city
Filter by code
Filter by modified attribute (modified >= modified_gte)
Filter businesses that have all the features provided, separated by commas.
diffusion
, feedback_management
, messages
, posts
, review_invite
, review_management
"diffusion,review_management"
Filter businesses that do not have all the features provided, separated by commas.
diffusion
, feedback_management
, messages
, posts
, review_invite
, review_management
"diffusion,review_management"
Filter by current subscription to review_management
.
Equivalent to using features__in=review_management
.
True
, False
Filter by current subscription to presence_management
.
Equivalent to using features__in=diffusion
.
True
, False
Filter by current subscription to review_booster
.
Equivalent to using features__in=review_invite
.
True
, False
Filter by current subscription to messages
Equivalent to using features__in=messages
True
, False
Filter by completion_rate attribute (completion_rate >= completion_rate__gte)
Filter by completion_rate attribute (completion_rate <= completion_rate__lte)
Filter by completion_rate attribute. You can separate the values by a comma, as done in the example.
low
, mid
, high
"low,mid"
Retrieve only businesses having promotional offers
True
, False
Filter by current link to a Google location
True
, False
Filter by current link to a Facebook location
True
, False
Page number, Starts at 1. From 1 to 100 results per page (see per_page
)
Number of items to return per page. Currently limited to 100.
1 <= x <= 100
Order result by given attribute.
Reverse order can as well be obtained by using a -
(minus sign) before the attribute name, e.g. order_by=-name
id
, name
, code
, created
, modified
, country
, city
, zipcode
, completion_rate
, -id
, -name
, -code
, -created
, -modified
, -country
, -city
, -zipcode
, -completion_rate