---
metadata:
  - name: generator
    content: Diplodoc Platform v5.15.5
alternate:
  - https://delivery.yango.com/docs/en/api/express/openapi/IntegrationV2ClaimsProofOfDeliveryInfo.md
---
> **Documentation Index:** Fetch the complete configuration index at https://delivery.yango.com/docs/en/llms.txt

<div class="openapi">

# Confirm delivery

Returns the data confirming delivery.
The response may contain IDs of points on the route, photos taken by the courier at those points, and recipient names


## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method} 
```text translate=no
b2b.delivery.yango.tech/b2b/cargo/integration/v2/claims/proof-of-delivery/info
```



</div>

Service URL

</div>

</div>

### Query parameters

#|||
 **Name** 
|
 **Description** 
||

||
 claim_id<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string

Claim ID received at the claim creation stage<br>

*Min length:*{.openapi-description-annotation} `32`

*Max length:*{.openapi-description-annotation} `64`
 
|||#{.openapi-table}

### Headers

#|||
 **Name** 
|
 **Description** 
||

||
 Accept-Language<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string

Preferred response language. Examples: "en" — English<br>Example: `en` 
|||#{.openapi-table}

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}


```json translate=no
{
    "proof_of_delivery_info": [
        {
            "claim_point_id": 372036854775807,
            "photos": [
                {
                    "id": "c3073b9d-edd0-49f2-a28d-b7ded8ff9a8b",
                    "claim_point_id": 372036854775807,
                    "url": "string",
                    "status": "initiated",
                    "external_id": "string"
                }
            ],
            "recipient_info": {
                "recipient_name": "string",
                "recipient_type": "string",
                "document_id": "string"
            }
        }
    ]
}
```


{% endcut %}


#|||
 **Name** 
|
 **Description** 
||

||
 proof_of_delivery_info<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** [ProofOfDeliveryInfo](#proofofdeliveryinfo)[] 
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### ProofOfDeliveryInfo

#|||
 **Name** 
|
 **Description** 
||

||
 claim_point_id<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** integer&lt;int64&gt;

Integer point ID (int64) generated on the Yango Delivery side.
It is in the route_points[].id field. Applicable to source, destination, and return points.

*Example:*{.openapi-description-annotation} `372036854775807`
 
||

||
 photos {.openapi-table-parameter-name} 
|
 **Type:** [Photo](#photo)[]

Photos confirming the delivery 
||

||
 recipient_info {.openapi-table-parameter-name} 
|
 **Type:** [RecipientInfo](#recipientinfo)

Information about the recipient of the item  
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### Photo

Photos confirming the delivery

#|||
 **Name** 
|
 **Description** 
||

||
 claim_point_id<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** integer&lt;int64&gt;

Integer point ID (int64) generated on the Yango Delivery side.
It is in the route_points[].id field. Applicable to source, destination, and return points.

*Example:*{.openapi-description-annotation} `372036854775807`
 
||

||
 id<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string&lt;uuid&gt;

Unique photo ID. 
||

||
 status<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** [UploadStatusType](#uploadstatustype)

Upload status

*Enum:*{.openapi-description-annotation} `initiated`, `uploaded`, `mds_failed`, `validated`, `validation_failed`
 
||

||
 external_id {.openapi-table-parameter-name} 
|
 **Type:** string

external ID 
||

||
 url {.openapi-table-parameter-name} 
|
 **Type:** string

URL for uploading photos 
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### RecipientInfo

Information about the recipient of the item 

#|||
 **Name** 
|
 **Description** 
||

||
 recipient_name<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string

Name of the recipient 
||

||
 recipient_type<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string

What's the relationship between the real recipient and the recipient specified in the claim 
||

||
 document_id {.openapi-table-parameter-name} 
|
 **Type:** string

Number of the document confirming the delivery 
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### UploadStatusType

Upload status

#|||
 **Type** 
|
 **Description** 
||

||
 [UploadStatusType](#uploadstatustype) 
|
 

*Enum:*{.openapi-description-annotation} `initiated`, `uploaded`, `mds_failed`, `validated`, `validation_failed`
 
|||#{.openapi-table}

</div>

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Claim or claim information not found

<div class="openapi-entity">

### Body

{% cut "application/json" %}


```json translate=no
{
    "code": "not_found",
    "message": "Claim not found"
}
```


{% endcut %}


#|||
 **Name** 
|
 **Description** 
||

||
 code<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string

Error code

*Example:*{.openapi-description-annotation} `not_found`

*Enum:*{.openapi-description-annotation} `not_found`
 
||

||
 message<span class="openapi__required">*</span> {.openapi-table-parameter-name} 
|
 **Type:** string

Error description

*Example:*{.openapi-description-annotation} `Claim not found`
 
|||#{.openapi-table}

</div>

</div>
<!-- markdownlint-disable-file -->

</div>



[*Deprecated]: No longer supported, please use an alternative and newer version.