# Print Label

## Print Pending Orders Label

<mark style="color:yellow;">`POST`</mark> `/v4/orders/awb`

This endpoint retrieves order labels for one or more `pending` orders based on the provided filters. You can specify the label type using the `type` field, which is optional.

**Label Types:**

* **`paper`**: Returns a standard A5 label (default if no type is provided).
* **`a6`**: Returns an A6 size label.
* **`thermal`**: Returns a thermal-compatible label.

<details>

<summary>Base URL</summary>

[https://api.fincart.io](https://api.fincart.io/)

</details>

**Headers**

| Name          | Value                                                                                                    |
| ------------- | -------------------------------------------------------------------------------------------------------- |
| Content-Type  | `application/json`                                                                                       |
| Authorization | [<mark style="color:blue;">`<token>`</mark>](https://fincart.gitbook.io/fincart-api/access/access-token) |

**Body**

```json
{
  "filters": {
    "ids": ["<order_id_1>", "<order_id_2>", "..."],
    "type": "paper"
  }
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
// Label PDF File
```

{% endtab %}

{% tab title="400" %}

```json
{
    "statusCode": 400,
    "timestamp": "2025-07-16T14:56:37.039Z",
    "path": "/v4/orders/awb",
    "message": "Invalid ObjectId format for parameter orderId",
    "errors": [
        "Invalid ObjectId format for parameter orderId"
    ]
}
```

{% endtab %}

{% tab title="403" %}

```json
{
    "statusCode": 403,
    "timestamp": "2025-07-16T14:55:48.930Z",
    "path": "/v4/orders/awb",
    "message": "User is not authorized",
    "errors": [
        "User is not authorized"
    ]
}
```

{% 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://fincart.gitbook.io/fincart-api/apis/print-order-label.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.
