Lyska Cloud API (dev)

Download OpenAPI specification:Download

This is an awesome API!

Authentication

apiKey

Security Scheme Type API Key
Header parameter name: X-API-KEY

jwt

Value: Bearer [token]

Security Scheme Type API Key
Header parameter name: Authorization

Recommendations

<no summary>

Authorizations:
query Parameters
limit
integer

Responses

<no summary>

Authorizations:
path Parameters
type
required
string
Enum: "most_bought_variant" "product_list" "recent_orders"
query Parameters
limit
integer

Responses

Customer

Creates new JWT Token for the selected Channel.

Authorizations:
path Parameters
channelId
required
string

Uuid of the channel which should be used.

Responses

Registers a new Customer.

Authorizations:
Request Body schema: application/json
type
required
string
Enum: "personal" "company"
number
string Nullable

Number will be generated if not provided

company
string Nullable

Field will be required when type=company.

email
string
password
string
channel
string
clientFields
object (RegisterClientFieldCollection)
firstName
required
string
lastName
required
string
gender
required
string
object (ExtendedRegistrationInformation)

Responses

Request samples

Content type
application/json
{
  • "type": "personal",
  • "number": "xyz-1000",
  • "company": "Lyska",
  • "email": "erika.musterfrau@lyska.io",
  • "password": "p4$$w0rd",
  • "channel": "cfb89b73-670e-46de-acee-77d31cc5e6ea",
  • "clientFields": { },
  • "firstName": "string",
  • "lastName": "string",
  • "gender": "string",
  • "extendedInformation": {
    }
}

Updates a Customer.

Authorizations:
Request Body schema: application/json
clientFields
object (CustomerClientFieldCollection)
companyName
string

Mandatory (not blank) if customerType is set to company.

type
required
string
Enum: "personal" "company"
channel
string

Responses