Logotype
For developers
By Qliro
Select search filters:
0
0
/
/
Customer authentication
Prefill the checkout for a smooth checkout journey.
Overview
To perform the customer authentication, Qliro need customer data. You can add this information to the create order request. However, if the information needs completion, the customer will be requested to add it.
How-to
In the create order call. Send in customer information under the CustomerInformation parameter. 
 
Example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "CustomerInformation": {
    "PersonalNumber": "111111-1111",
    "VatNumber": "SE111111111101",
    "Email": "email@domain.com",
    "JuridicalType": "Physical",
    "MobileNumber": 46101010101,
    "Address": {
      "FirstName": "John",
      "LastName": "Doe",
      "CompanyName": "Qliro AB",
      "Street": "Sveavägen 151",
      "Street2": "lgh 1001",
      "PostalCode": 12345,
      "City": "Stockholm",
      "CareOf": "Jane Doe",
      "Area": "New York",
      "AreaCode": "US-NY"
    },
    "ShippingAddress": {
      "FirstName": "John",
      "LastName": "Doe",
      "CompanyName": "Qliro AB",
      "Street": "Sveavägen 151",
      "Street2": "lgh 1001",
      "PostalCode": 12345,
      "City": "Stockholm",
      "CareOf": "Jane Doe",
      "Area": "New York",
      "AreaCode": "US-NY"
    }
  }
}
 
Use the following parameters to lock different parts of the customer information. See API Reference for description.
1
2
3
4
5
6
7
{
  "LockCustomerInformation": true,
  "LockCustomerEmail": false,
  "LockCustomerMobileNumber": false,
  "LockCustomerPersonalNumber": false,
  "LockCustomerAddress": false
}
Good to know
  • Use oncustomerinfochange (optional listener) if you want to know when the customer authenticates. Continue to Listeners to read more.
icon corner-down-right-dark
Next up is Update order