Skip to main content

Definition

Authentication is made through the generation of a time-limited token (24h), using the user’s login and password. The JWT token generated by this endpoint is to be used in other endpoints as a HTTP Header named: Authorization

Endpoint

How to use the token?

Every Merchant API endpoint requires you to be authentified. The Token returned by the /login endpoint is used to ensure you are properly authentified and that you have the right authorizations. In every request to the API, you should use the Authorization HTTP header to with the token you retrieved from the POST /login response body, prefixed by the keyword Bearer .

Examples

First, requesting a token via the /login endpoint…
Generate a token
Reponse 200
…then using it in a HTTP header of a price update request:
Use the token in PATCH prices