- Production sever for Ordercloudhttps://api.ordercloud.io/v1/me
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
https://api.ordercloud.io/v1/me \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'List of roles currently available to the user via all security profile assignments.
Example:
[ "" ]
Most specific locale assigned to the user, if any.
Example:
{ "ID": "", "OwnerID": "", "Currency": "", "Language": "" }
Accurate within a few minutes. Includes impersonation activity.
Example:"2018-01-01T00:00:00-06:00"
Response
{ "Buyer": { "ID": "", "DefaultCatalogID": "" }, "Supplier": { "ID": "" }, "Seller": { "ID": "" }, "ID": "", "CompanyID": "", "Username": "", "Password": "", "FirstName": "", "LastName": "", "Email": "", "Phone": "", "TermsAccepted": "2018-01-01T00:00:00-06:00", "Active": false, "xp": {}, "AvailableRoles": [ "" ], "Locale": { "ID": "", "OwnerID": "", "Currency": "", "Language": "" }, "DateCreated": "2018-01-01T00:00:00-06:00", "LastActive": "2018-01-01T00:00:00-06:00", "PasswordLastSetDate": "2018-01-01T00:00:00-06:00" }