GET api/EcwidToken
Creates or updates the session's logged-in customer in Ecwid, in the customer group for their current membership, then returns an Ecwid SSO profile for them: the base64 JSON profile, its HMAC-SHA256 signature and a timestamp, separated by spaces. Responses: 200 with the profile. 401 if there's no session token or the session isn't logged in. 404 if the session doesn't exist. 500 if the Lightspeed integration has no Ecwid client ID or secret.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The SSO profile string, for the Ecwid storefront.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |