Authorization

Version 4.1 by Giorgi Mdivnishvili on 2023/12/14 07:37

Method Description

The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods.

Request URL - [GET]

https://online-api.kazunion.com/api/Auth/Auth

Request Parameters

none

Request Body

{
"login": "string",
"password": "string"
}

Response Body

{
 "accessToken": "string"
}

Schema

GetCountriesResponse{
error boolean
errorCode string
nullable: true
errorDescription string
nullable: true
userErrorDescription string
nullable: true
countries [
nullable: true
Country{
countryCode string
nullable: true
readOnly: true
countryName string
nullable: true
note string
nullable: true
phoneCode string
nullable: true
isO2 string
nullable: true
isO3 string
nullable: true
status integer($int32)
sortingOrder integer($int32)
sellCurrency string
nullable: true
}]
}