> The index of all pages is at [llms.txt](https://developers.qliro.com/llms.txt). Add `.md` to any page URL for its Markdown.

# Customer authentication (/qliro-checkout/checkout-features/customer-authentication)

## Overview

Qliro needs customer data to authenticate the customer. You can add this data to the create order request. If the data is incomplete, the checkout asks the customer to complete it.

## How-to

In the create order call, send the customer information in the `CustomerInformation` parameter.

### Example

```json
{
  "CustomerInformation": {
    "PersonalNumber": "111111-1111",
    "VatNumber": "SE111111111101",
    "Email": "email@domain.com",
    "JuridicalType": "Physical",
    "MobileNumber": 46101010101,
    "Address": {
      "FirstName": "John",
      "LastName": "Doe",
      "CompanyName": "Qliro AB",
      "Street": "Sveavagen 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": "Sveavagen 151",
      "Street2": "lgh 1001",
      "PostalCode": 12345,
      "City": "Stockholm",
      "CareOf": "Jane Doe",
      "Area": "New York",
      "AreaCode": "US-NY"
    }
  }
}
```

Use the following parameters to lock parts of the customer information. See the [API Reference](https://developers.qliro.com/api-reference/merchant/orders/create-order) for descriptions.

```json
{
  "LockCustomerInformation": true,
  "LockCustomerEmail": false,
  "LockCustomerMobileNumber": false,
  "LockCustomerPersonalNumber": false,
  "LockCustomerAddress": false
}
```

## Good to know

* Use the optional listener `onCustomerInfoChanged` to know when the customer authenticates. See [Listeners](https://developers.qliro.com/qliro-checkout/frontend-features/listeners).

<Cards>
<Card title="Update order" href="/qliro-checkout/checkout-features/update-order">
Continue to Update order
</Card>
</Cards>