Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
71 lines (43 sloc) 2.08 KB

Getting started

Overview

Partoo APIs are currently available for partners and clients only. There are 2 of them:
  • a REST API maint for querying and updating data in our database using JSON format
  • a JS API maint to ease the integration of part of our application in third party solutions

Authentication

For both APIs, authentication is achieved thanks to an API key.

For the REST API, you should provide an API key to any request you make. Provide your key directly in the request URL with the api_key parameter as follow:

GET https://www.partoo.fr/api/v2/business/{business_id}?api_key={my_api_key}

For the JS API, you should provide an API key authenticating a user to the login function.

var partooPage = Partoo.init('the-id-of-the-container-where-you-want-to-insert-partoo');

    partooPage.login(apiKey);

API Endpoints

We support the following API endpoints, all over HTTPS. HTTP request will be redirected (301) to HTTPS.

https://www.partoo.fr/api/v2/
https://www.localoo.es/api/v2/
https://www.partoo.co/api/v2/
https://www.partoo.it/api/v2/

Sandbox Environments

We have a sandbox environment maint for technical teams to help them integrate our APIs. The API sandbox endpoints are:

https://sandbox.localoo.es/api/v2/
https://sandbox.partoo.co/api/v2/
This environment is ISO to production with 2 major differences:
  • Notifications (mainly emails) have been deactivated
  • Data push to our partners have been deactivated
warning:The following environments are now deprecated:
https://test.partoo.fr/api/v2/
https://test.localoo.es/api/v2/
https://test.partoo.co/api/v2/
https://test.partoo.it/api/v2/

The test environments will be removed in April 2019. To gain access to sandbox environements ask your account manager.

You can’t perform that action at this time.