> For the complete documentation index, see [llms.txt](https://vu-custom.gitbook.io/vu-custom/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vu-custom.gitbook.io/vu-custom/admin-api/account-management/get-a-list-of-ship_to_accounts.md).

# Get a list of ship\_to\_accounts

Method : <mark style="color:green;">**GET**</mark>

{% code fullWidth="false" %}

```url
https://os.vucustom.com/api/v1/ship_to_accounts?updated_at_min=&limit&account_number
```

{% endcode %}

URL Parameters

<table><thead><tr><th width="187">Field Name</th><th>Description</th></tr></thead><tbody><tr><td>updated_at_min</td><td>returns a list that was upated after this minimum value.</td></tr><tr><td>limit</td><td>Default and max 250 - The number of records to retrieve</td></tr><tr><td>account_number</td><td>filters all records based on the account number</td></tr></tbody></table>

<details>

<summary>Example Request</summary>

```
https://os.vucustom.com/api/v1/ship_to_accounts?updated_at_min=&limit&account_number=null
```

</details>

{% tabs %}
{% tab title="200" %}
**`200 Successful response example`**

```json
{
    "ship_to_accounts": [
        {
            "account_number": "123",
            "address_1": "448 Test Street",
            "address_2": "",
            "alternate_name": "ATTN",
            "city": "Lawrence",
            "company_name": "",
            "country": "US",
            "created_at": "2022-10-31T01:54:56.271Z",
            "email": "test@test.com",
            "first_name": "John",
            "id": 12345,
            "last_name": "Doe",
            "phone": "(770) 210-4897",
            "postal_code": "66049",
            "sold_to_account_number": "123",
            "state": "Kansas",
            "updated_at": "2022-10-31T01:54:56.271Z",
            "parent_account_number": "sold_to_123"
        }
    ]
}
```

{% endtab %}

{% tab title="401 " %}
**`401 Unauthorized`**

`The client doesn’t have correct authentication credentials.`

```
{
"errors": "[API] Invalid API key or secret (unrecognized login or wrong password)"
}
```

{% endtab %}

{% tab title="403" %}
**`403 Forbidden`**

`The server is refusing to respond. This is typically caused by incorrect access.`
{% endtab %}

{% tab title="404" %}
**`404 Not Found`**

`The requested resource was not found but could be available again in the future.`
{% endtab %}

{% tab title="422" %}
**`422 Unprocessable Entity`**
{% endtab %}

{% tab title="5xx" %}
**`5xx Errors`**

`An internal error occurred in VU Admin.`
{% endtab %}
{% endtabs %}
