# Add tags to many orders

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

{% code fullWidth="false" %}

```url
https://admin.vucustom.com/api/:api_version/orders
```

{% endcode %}

Request body schema

<table><thead><tr><th width="155">Field Name</th><th width="107">type</th><th></th></tr></thead><tbody><tr><td>orders</td><td>array</td><td>This array contains objects. Each object in this array represents an order. for each object specify either order_number or id</td></tr><tr><td>tags</td><td>array</td><td>This array contains strings. each string is a tag which will be applied to all orders in the orders array specified above.</td></tr></tbody></table>

<details>

<summary>Example Request </summary>

```url
curl --location 'https://admin.vucustom.com/api/:api_version/orders/tags/bulk' \
--data '{
    "orders": [
        {
            "id": 12345,
            "order_number": ""
        }
    ],
    "tags": [
        "tag1",
        "tags2"
    ]
}'
```

</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="422" %}
**`422 Unprocessable Entity`**
{% endtab %}

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

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