---
title: "tempoGetCustomerAccounts"
canonical: "https://support.appfire.com/space/PSJ/15487291/tempoGetCustomerAccounts"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the SIL Tempo Connector add-on (free) be installed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | tempoGetCustomerAccounts(customer [, status]) | **Package** | tempo |
| **Alias** |  | **Pkg Usage** | getCustomerAccounts(customer [, status]) |

## Description

> Macro (excerpt)
> 
> Returns the customer accounts, optionally filtered by the status.

Returns the customer accounts, optionally filtered by the status.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| customer | String | Yes | Customer id, key or name. |
| status | String | No | One of the following strings: "OPEN", "CLOSED" or "ARCHIVED". |

## Return Type

**[TempoAccount []](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485649)**

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)