# Delete a ship\_to\_account

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

{% code fullWidth="false" %}

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

{% endcode %}

URL Parameters

<table><thead><tr><th width="187">Field Name</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>ship_to_account Id which was system generated</td></tr><tr><td>account_number</td><td>if this is present and id is blank, then parent_account_number is also required. This uid is provided from an external source.</td></tr><tr><td>parent_account_number</td><td>required if id is blank</td></tr></tbody></table>

<details>

<summary>Example Request</summary>

```url
https://os.vucustom.com/api/v1/ship_to_accounts?id=&account_number=&parent_account_number=null
```

</details>

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

```json
{}
```

{% 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vu-custom.gitbook.io/vu-custom/admin-api/account-management/delete-a-ship_to_account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
