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

<div class="openapi">

# Changelog

The method returns the change history of the claim. You can find out about the changes in order status and price. For terminal statuses, the "resolution" field is returned, with possible values being ''success'' and ''failed''.

## 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/journal
```



</div>

Service URL

</div>

</div>

<div class="openapi-entity">

### Body

{% cut "application/json" %}


```json translate=no
{
    "cursor": "string"
}
```


{% endcut %}


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

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

A string with the ID of the last change. If the cursor isn't added, all changes with a certain limit will be approved 
|||#{.openapi-table}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}


```json translate=no
{
    "cursor": "string",
    "events": [
        {
            "operation_id": 1,
            "claim_id": "3b8d1af142664fde824626a7c19e2bd9",
            "change_type": "status_changed",
            "updated_ts": "2020-01-01T00:00:00+00:00",
            "new_status": "new",
            "new_price": "20.00",
            "new_currency": "AED",
            "resolution": "success",
            "revision": 1,
            "client_id": "95d010b2471041499b8cb1bfa282692f",
            "current_point_id": 372036854775807
        }
    ]
}
```


{% endcut %}


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

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

Last change ID 
||

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

Information about the order change 
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### Event

Information about the order change

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

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

Change type. Possible values:
- status_changed — status change. 
- price_changed — price change.

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

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

Claim ID (claim_id)

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

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

Operation ID (int64)

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

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

Claim change version (int64)

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

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

Event time in ISO 8601 format

*Example:*{.openapi-description-annotation} `2020-01-01T00:00:00+00:00`
 
||

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

Customer ID

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

||
 current_point_id {.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`
 
||

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

Order currency code

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

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

Order price

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

||
 new_status {.openapi-table-parameter-name} 
|
 **Type:** [ClaimStatus](#claimstatus)

Claim status. To learn more, see [Status model](https://delivery.yango.com/docs/en/api/express/claim-process.md)

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

*Enum:*{.openapi-description-annotation} `new`, `estimating`, `estimating_failed`, `ready_for_approval`, `accepted`, `performer_lookup`, `performer_draft`, `performer_found`, `performer_not_found`, `pickup_arrived`, `ready_for_pickup_confirmation`, `pickuped`, `delivery_arrived`, `ready_for_delivery_confirmation`, `delivered`, `delivered_finish`, `returning`, `return_arrived`, `ready_for_return_confirmation`, `returned`, `returned_finish`, `failed`, `cancelled`, `cancelled_with_payment`, `cancelled_by_taxi`, `cancelled_with_items_on_hands`
 
||

||
 resolution {.openapi-table-parameter-name} 
|
 **Type:** [ClaimStatusResolution](#claimstatusresolution)

Terminal status resolution

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

*Enum:*{.openapi-description-annotation} `success`, `failed`
 
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### ClaimStatus

Claim status. To learn more, see [Status model](https://delivery.yango.com/docs/en/api/express/claim-process.md)

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

||
 [ClaimStatus](#claimstatus) 
|
 

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

*Enum:*{.openapi-description-annotation} `new`, `estimating`, `estimating_failed`, `ready_for_approval`, `accepted`, `performer_lookup`, `performer_draft`, `performer_found`, `performer_not_found`, `pickup_arrived`, `ready_for_pickup_confirmation`, `pickuped`, `delivery_arrived`, `ready_for_delivery_confirmation`, `delivered`, `delivered_finish`, `returning`, `return_arrived`, `ready_for_return_confirmation`, `returned`, `returned_finish`, `failed`, `cancelled`, `cancelled_with_payment`, `cancelled_by_taxi`, `cancelled_with_items_on_hands`
 
|||#{.openapi-table}

</div>

<div class="openapi-entity">

### ClaimStatusResolution

Terminal status resolution

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

||
 [ClaimStatusResolution](#claimstatusresolution) 
|
 

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

*Enum:*{.openapi-description-annotation} `success`, `failed`
 
|||#{.openapi-table}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

BAD REQUEST

<div class="openapi-entity">

### Body

{% cut "application/json" %}


```json translate=no
{
    "code": "invalid_cursor",
    "message": "Incorrect cursor format"
}
```


{% endcut %}


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

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

Error code

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

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

Error description

*Example:*{.openapi-description-annotation} `Incorrect cursor format`
 
|||#{.openapi-table}

</div>

</div>

<div class="openapi__response__code__429">

## 429 Too Many Requests

TOO MANY REQUESTS

<div class="openapi-entity">

### Body

{% cut "application/json" %}


```json translate=no
{
    "code": "too_many_requests",
    "message": "Too many requests"
}
```


{% endcut %}


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

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

Error code

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

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

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

Error description

*Example:*{.openapi-description-annotation} `Too many requests`
 
|||#{.openapi-table}

</div>

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

</div>



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