# Display onboarding status

Source: https://developer.avalara.com/products/mylodge/integration-guides/mylodgetax/vuh8596759573145/

Guide: MyLodgeTax

# Display onboarding status

Learn how to view a customer's onboarding status using the getCustomerLocationsv2 endpoint.

**Element type**: [getCustomerLocationsv2](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Customer%20Information/getCustomerLocationsv2/)

**Endpoint/model**: N/A

Your integration must provide users with a clear understanding of their current onboarding status. You can view a customer's status by running the [getCustomerLocationsv2](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Customer%20Information/getCustomerLocationsv2/) endpoint. Include the `customerId` in the request URL. The response will show one of the following status codes:

-   `TaxSetup`
-   `LicenseSetup`
-   `Active`
-   `Cancelled`

Each time a customer is sent to the onboarding flow, pull the customer ID until you receive a successful response that indicates the customer-completed onboarding (`TaxSetup`, `LicenseSetup`, or `Active`). If there’s no successful response after 90 days, send a new request to generate a new link.

**Example request**:

```
curl -X 'GET' \
  'https://mylodgetaxapi-sbx.avalara.net/v2/customers/00001/locations' \
  -H 'accept: application/json'
```

**Example response**:

```
{
  "locations": [
    {
      "name": "Seattle location",
      "id": "SEA-01",
      "status": "TaxSetup"
    }
  ]
}
```

Note

If the `getCustomerLocationsv2` endpoint returns a 404 response, it indicates that the Avalara MyLodgeTax account is not yet created.