Authentication

Froomle will provide you with a $CLIENT_ID and $CLIENT_SECRET through the use of https://onetimesecret.com/. Afterwards these credentials will need to be used to retrieve a Bearer token. These tokens can then be used to retrieve recommendations, and manage your item metadata. Below you can find an example:

--request POST \
  --url 'https://{customer_token}.froomle.com/oauth/token' \
  --header 'content-type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials \
  --data client_id=$CLIENT_ID \
  --data client_secret=$CLIENT_SECRET