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
Filter by business ids
Business id
Filters Posts based on their start datetime.
The start datetime represents the moment on which a Post of type event/offer will become available. In case of Posts of type news, the start_datetime
it will be compare to the creation date of the Post, as the field is not present in this context.
"2020-11-06T23:59:59"
Filter Posts based on their end datetime.
The end datetime represents the date on which the Post of type event/offer will expire. In case of Posts of type news, the end_datetime
it will be compare to exactly one week after the creation date of the Post, as the field is not present in this context.
"2020-11-06T23:59:59"
Filter Posts based on their description.
It returns Posts that contain in their description the given string. The text does not have to match perfectly.
Filter Posts based on its state.
live
, to_configure
, pending
, scheduled
, error
, expired
, to_validate
Filter Posts based on its type.
standard
, event
, offer
, alert
Filter Posts based on a list of different types.
standard
, event
, offer
, alert
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