...
Example response
Code Block | ||
---|---|---|
| ||
{ "access_token": "ej577asf-a5k6-42yq-a3a2-fh03hb8cb58c", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "aj274ajd-t1s8-48sk-v5m1-shf64j9bq25a", "scope": [ "shopping.read", "shopping.write", "productcatalog.read" ] } |
...
To get a new access_token
you can use the refresh token grant_type
Code Block | ||
---|---|---|
| ||
curl -s -H "Content-Type: application/json" https://beta-api.ambita.com:443/authentication/v2/token -d " { \"grant_type\": \"refresh_token\", \"refresh_token\": \"aj274ajd-t1s8-48sk-v5m1-shf64j9bq25a\" }" |
...