Access tokens
Learn how to manage access tokens.
cURL
200 OK response
curl --location -g --request GET
'https://api.digitalriver.com/oauth20/access-token' \
--header 'Authorization: bearer {{access_token}}' \
...
{
"sessionId": "your_session_ID",
"userId": "your_user_ID",
"externalReferenceId": "external_reference_ID",
"authenticated": "true",
"locale": "en_US",
"currency": "USD",
"cartId": "your_cart_ID",
"clientIpAddress": "string",
"domain": "drh-api-ot04.digitalriverws.net",
"expiresIn": 86397,
"themeId": "string",
"sessionTag": "session_tag"
}
cURL
200 OK response
curl --location -g --request DELETE 'https://api.digitalriver.com/oauth20/access-token' \
--header 'Authorization: bearer {{access_token}}' \
...
{
"sessionId": "your_session_ID",
"userId": "your_user_ID",
"externalReferenceId": "external_reference_ID",
"authenticated": "true",
"locale": "en_US",
"currency": "USD",
"cartId": "your_cart_ID",
"clientIpAddress": "string",
"domain": "drh-api-ot04.digitalriverws.net",
"expiresIn": 86397,
"themeId": "string",
"sessionTag": "session_tag"
}
Last modified 7mo ago