Access tokens

Get the Commerce API access token

get
Responses
200
Successful response.
application/json
get
GET /oauth20/access-tokens HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
  "sessionId": "your_session_ID",
  "userId": "your_user_ID",
  "externalReferenceId": "external_reference_ID",
  "authenticated": "true",
  "locale": "en_US",
  "currency": "USD",
  "cartId": "your_cart_ID",
  "clientIpAddress": "text",
  "domain": "drh-api-ot04.digitalriverws.net",
  "expiresIn": 86397,
  "themeId": "text",
  "sessionTag": "session_tag"
}

Delete the Commerce API access token

delete
Responses
200
Successful response.
application/json
delete
DELETE /oauth20/access-tokens HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
  "sessionId": "your_session_ID",
  "userId": "your_user_ID",
  "externalReferenceId": "external_reference_ID",
  "authenticated": "true",
  "locale": "en_US",
  "currency": "USD",
  "cartId": "your_cart_ID",
  "clientIpAddress": "text",
  "domain": "drh-api-ot04.digitalriverws.net",
  "expiresIn": 86397,
  "themeId": "text",
  "sessionTag": "session_tag"
}

Last updated