> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# carrierClaimsSearch

> Search the carrier claims the store filed by text and filters, with the same matching as the claims page in Redo. Lists only claims on kinds of package the caller may file. Results come from a search index and can trail writes by a few seconds.

**Required scopes:** [`carrier_claims_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-carrier_claims_read)

## Arguments

**after** `String`

Forward pagination cursor — returns claims after it.

**before** `String`

Backward pagination cursor — returns claims before it.

**filter** `[CarrierClaimFilter](/docs/api-reference/v3/reference/returns/carrier-claim-filter)`

Which carrier claims to include.

**fields**

**carrier** `[StringListFilter](/docs/api-reference/v3/reference/common/string-list-filter)`

The carrier's code, as `CarrierClaim.carrier` returns it, such as `USPS` or `FedEx`. Matched case-sensitively, as the claims page matches it.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**carrierClaimNumber** `[ContainsStringListFilter](/docs/api-reference/v3/reference/common/contains-string-list-filter)`

The number the carrier gave the claim. Matched case-sensitively, as the claims page matches it.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**contains** `String`

Contains a value with this text anywhere in it (3 to 200 characters).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**notContains** `String`

Contains no value with this text anywhere in it (3 to 200 characters).

**createdAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When Redo created the claim.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**firstScanAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When the carrier first scanned the package.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**fulfillmentGroup** `[IdFilter](/docs/api-reference/v3/reference/common/id-filter)`

The fulfillment group the package shipped in, by id.

**fields**

**anyOf** `[ID!]`

One of these ids (at most 100).

**noneOf** `[ID!]`

None of these ids (at most 100).

**goodsValue** `[FloatFilter](/docs/api-reference/v3/reference/common/float-filter)`

The value of the goods in the package, in US dollars.

**fields**

**gt** `Float`

Greater than this value.

**gte** `Float`

At least this value.

**lt** `Float`

Less than this value.

**lte** `Float`

At most this value.

**insuredValue** `[FloatFilter](/docs/api-reference/v3/reference/common/float-filter)`

The amount the package was insured for, in US dollars.

**fields**

**gt** `Float`

Greater than this value.

**gte** `Float`

At least this value.

**lt** `Float`

Less than this value.

**lte** `Float`

At most this value.

**kind** `[CarrierClaimKindFilter](/docs/api-reference/v3/reference/common/carrier-claim-kind-filter)`

Whether the package was a return or an outbound package.

**fields**

**anyOf** `[\[CarrierClaimKind!\]](/docs/api-reference/v3/reference/returns/carrier-claim-kind)`

One of these values.

**noneOf** `[\[CarrierClaimKind!\]](/docs/api-reference/v3/reference/returns/carrier-claim-kind)`

None of these values.

**labelCost** `[FloatFilter](/docs/api-reference/v3/reference/common/float-filter)`

What the store paid for the label, in US dollars.

**fields**

**gt** `Float`

Greater than this value.

**gte** `Float`

At least this value.

**lt** `Float`

Less than this value.

**lte** `Float`

At most this value.

**orderName** `[ContainsStringListFilter](/docs/api-reference/v3/reference/common/contains-string-list-filter)`

The name of the order, as `CarrierClaim.orderName` returns it. Matched case-sensitively, as the claims page matches it.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**contains** `String`

Contains a value with this text anywhere in it (3 to 200 characters).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**notContains** `String`

Contains no value with this text anywhere in it (3 to 200 characters).

**reason** `[CarrierClaimReasonFilter](/docs/api-reference/v3/reference/common/carrier-claim-reason-filter)`

What went wrong with the package.

**fields**

**anyOf** `[\[CarrierClaimReason!\]](/docs/api-reference/v3/reference/returns/carrier-claim-reason)`

One of these values.

**noneOf** `[\[CarrierClaimReason!\]](/docs/api-reference/v3/reference/returns/carrier-claim-reason)`

None of these values.

**status** `[CarrierClaimStatusFilter](/docs/api-reference/v3/reference/common/carrier-claim-status-filter)`

Where the claim is with Redo and the carrier.

**fields**

**anyOf** `[\[CarrierClaimStatus!\]](/docs/api-reference/v3/reference/returns/carrier-claim-status)`

One of these values.

**noneOf** `[\[CarrierClaimStatus!\]](/docs/api-reference/v3/reference/returns/carrier-claim-status)`

None of these values.

**submittedAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When the claim was filed with Redo.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**trackingNumber** `[ContainsStringListFilter](/docs/api-reference/v3/reference/common/contains-string-list-filter)`

The package's tracking number, as `CarrierClaim.trackingNumber` returns it. Matched case-sensitively, as the claims page matches it.

**fields**

**allOf** `[String!]`

Contains every one of these values (at most 100).

**anyOf** `[String!]`

Contains at least one of these values (at most 100).

**contains** `String`

Contains a value with this text anywhere in it (3 to 200 characters).

**noneOf** `[String!]`

Contains none of these values (at most 100).

**notContains** `String`

Contains no value with this text anywhere in it (3 to 200 characters).

**updatedAt** `[DateTimeFilter](/docs/api-reference/v3/reference/common/date-time-filter)`

When Redo last updated the claim.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant.

**gte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or after this instant.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant.

**lte** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

At or before this instant.

**first** `Int`

Forward pagination: returns the first N claims (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N claims (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**reverse** `Boolean`

Flips the order: weakest match, or oldest, first.

**sort** `[CarrierClaimSearchSortKey](/docs/api-reference/v3/reference/returns/carrier-claim-search-sort-key)`

Defaults to RELEVANCE with `text`, CREATED\_AT without. Relevance order can shift as claims change; use a date sort to page through every match stably.

**text** `String`

What to search for: an order name, or a claim's Mongo id. Omit to page through the filter's matches.

## Returns

**carrierClaimsSearch** `[CarrierClaimConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated list of CarrierClaim items.

**fields**

**edges** `[\[CarrierClaimEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[CarrierClaim!](/docs/api-reference/v3/reference/returns/carrier-claim)` *required*

The item at this edge.

**fields**

**carrier** `String!` *required*

The carrier's code, such as `USPS` or `FedEx`.

**files** `[\[CarrierClaimFile!\]!](/docs/api-reference/v3/reference/returns/carrier-claim-file)` *required*

The photos and documents filed with the claim or added since, the DHL affidavit included, oldest first.

**id** `ID!` *required*

The id of this claim.

**kind** `[CarrierClaimKind!](/docs/api-reference/v3/reference/returns/carrier-claim-kind)` *required*

Whether the package was a return or an outbound package.

**notes** `String`

What happened, as the store described it.

**orderName** `String!` *required*

The name of the order the package belongs to.

**reason** `[CarrierClaimReason!](/docs/api-reference/v3/reference/returns/carrier-claim-reason)` *required*

What went wrong with the package.

**status** `[CarrierClaimStatus!](/docs/api-reference/v3/reference/returns/carrier-claim-status)` *required*

Where the claim is with Redo and the carrier.

**submittedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the claim was filed with Redo.

**trackingNumber** `String!` *required*

The claimed package's carrier tracking number.

**nodes** `[\[CarrierClaim!\]!](/docs/api-reference/v3/reference/returns/carrier-claim)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

**carrier** `String!` *required*

The carrier's code, such as `USPS` or `FedEx`.

**files** `[\[CarrierClaimFile!\]!](/docs/api-reference/v3/reference/returns/carrier-claim-file)` *required*

The photos and documents filed with the claim or added since, the DHL affidavit included, oldest first.

**fields**

**contentType** `String!` *required*

The file's media type, such as `image/jpeg`.

**description** `String`

What the file shows, as the store described it.

**fileName** `String!` *required*

The file's name.

**type** `[CarrierClaimFileType](/docs/api-reference/v3/reference/returns/carrier-claim-file-type)`

What the file is. Null for a photo filed from the Redo app, which files photos without a type.

**uploadedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When Redo stored the file.

**url** `String!` *required*

A link to Redo's copy of the file, the one the carrier receives.

**id** `ID!` *required*

The id of this claim.

**kind** `[CarrierClaimKind!](/docs/api-reference/v3/reference/returns/carrier-claim-kind)` *required*

Whether the package was a return or an outbound package.

**notes** `String`

What happened, as the store described it.

**orderName** `String!` *required*

The name of the order the package belongs to.

**reason** `[CarrierClaimReason!](/docs/api-reference/v3/reference/returns/carrier-claim-reason)` *required*

What went wrong with the package.

**status** `[CarrierClaimStatus!](/docs/api-reference/v3/reference/returns/carrier-claim-status)` *required*

Where the claim is with Redo and the carrier.

**submittedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the claim was filed with Redo.

**trackingNumber** `String!` *required*

The claimed package's carrier tracking number.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

## Example

```graphql theme={null}
query {
  carrierClaimsSearch(after: "...", before: "...", filter: { ... }, first: 10, last: 10, reverse: true, sort: CREATED_AT, text: "...") {
    nodes {
      carrier
      id
      kind
      notes
      orderName
      reason
      status
      submittedAt
      # ...
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.