Refresh local user
Refresh local user with refresh token
Authorizations
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
Refresh token
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjIyMTU4..."
Response
Sign-in response body
Response ID
"596f7557696e2d4d617a616c546f7621"
User ID
"6169b2d892a5f30009d76480"
User roles
"customer"
User's full name
"Pat E Kake"
Merchant account ID
"xxxxxcxxxxxxxxxxxxxx"
Type of user
"customer"
Access token
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjIyMTU4..."
Refresh token
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjIyMTU4..."
Was this page helpful?