> 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/order-lines/add-tags-to-an-order-line.md).

# Add tags to an order line

Method : <mark style="color:green;">**POST**</mark> &#x20;

{% code fullWidth="false" %}

```url
https://os.vucustom.com/api/v1/order_lines/tags?id=&line_reference=
```

{% endcode %}

URL Query Parameters

<table><thead><tr><th width="166">Field Name</th><th width="692">Description</th></tr></thead><tbody><tr><td>id</td><td>System-generated unique identifier for the order line</td></tr><tr><td>line_reference</td><td>External unique reference number for the order line</td></tr></tbody></table>

<details>

<summary>Example Request</summary>

{% code fullWidth="true" %}

```json
{
    "tags": [
    ]
}
```

{% endcode %}

</details>

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

```json
no preview available
```

{% 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.A
{% endtab %}

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

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

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