Sitecore OrderCloud Documentation

docs

Portal login

Retrieve a user access token

POST

/buyers/{buyerID}/users/{userID}/accesstoken

200,4XX

Roles

At least one of the roles below is required to access this endpoint.

FullAccessBuyerImpersonation

Parameters

NameTypeDescriptionPossible Values
buyerIDRequiredstringID of the buyer.---
userIDRequiredstringID of the user.---

Request Body

PropertyTypeFormatMax LengthPossible Values
ClientIDRequiredstring---------
RolesRequiredarray---------
CustomRolesarray---------

Response Body

PropertyTypeFormatMax LengthPossible Values
access_tokenstring---------
expires_inintegerint32------
token_typestring---------
refresh_tokenstring---------
Sitecore Logo

© Copyright 2025, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore