> ## 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.

# importRestrictions

> List the import restrictions the catalog trips, newest first: rules found in the last 21 days in countries of enabled markets with restriction screening on. Filters combine with AND.

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

## Arguments

**after** `String`

Forward pagination cursor — returns import restrictions after it.

**before** `String`

Backward pagination cursor — returns import restrictions before it.

**countryCodes** `[\[CountryCode!\]](/docs/api-reference/v3/reference/common/country-code)`

Only restrictions imposed by one of these countries.

**first** `Int`

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

**last** `Int`

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

**marketId** `ID`

Only restrictions in the countries of this market. An id that names no market of the caller's matches nothing.

**orderBy** `[ImportRestrictionSortKey](/docs/api-reference/v3/reference/markets/import-restriction-sort-key)`

Which key to sort by (defaults to LAST\_SEEN\_AT, newest first). Combine with `reverse` to flip direction.

**reverse** `Boolean`

Reverses the sort direction.

**status** `[ImportRestrictionStatus](/docs/api-reference/v3/reference/markets/import-restriction-status)`

Only restrictions that are open, or resolved.

**tiers** `[\[ImportRestrictionTier!\]](/docs/api-reference/v3/reference/markets/import-restriction-tier)`

Only restrictions at one of these tiers.

## Returns

**importRestrictions** `[ImportRestrictionConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated list of ImportRestriction items.

**fields**

**edges** `[\[ImportRestrictionEdge!\]!](/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** `[ImportRestriction!](/docs/api-reference/v3/reference/markets/import-restriction)` *required*

The item at this edge.

**fields**

**affectedProducts** `[ProductConnection!](/docs/api-reference/v3/pagination)` *required*

The products in the catalog that trip the rule.

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

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns products after it.

**before** `String`

Backward pagination cursor — returns products before it.

**first** `Int`

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

**last** `Int`

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

**category** `[ImportRestrictionCategory](/docs/api-reference/v3/reference/markets/import-restriction-category)`

The kind of rule. Null when the source does not say.

**countryCode** `[CountryCode!](/docs/api-reference/v3/reference/common/country-code)` *required*

The destination country that imposes the restriction.

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

The id of this import restriction.

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

When screening last found a product in the catalog tripping the rule.

**market** `[Market!](/docs/api-reference/v3/reference/markets/market)` *required*

The market that sells into the restriction's country.

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

**regulationUrl** `String`

A link to the regulation or source the rule comes from, when known.

**resolutionNote** `String`

The note recorded when the rule was marked resolved. Null while open.

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

When the rule was marked resolved. Null while open.

**resolvedBy** `[Actor](/docs/api-reference/v3/reference/common/actor)`

Who marked the rule resolved: a team member or an API token. Null while open, when an automation or a change before this field resolved it, or when the team member has left the team.

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

**status** `[ImportRestrictionStatus!](/docs/api-reference/v3/reference/markets/import-restriction-status)` *required*

Whether the merchant has marked the rule resolved.

**summary** `String!` *required*

A plain-language summary of what the rule requires.

**tier** `[ImportRestrictionTier!](/docs/api-reference/v3/reference/markets/import-restriction-tier)` *required*

The most severe tier at which any product in the catalog trips the rule.

**nodes** `[\[ImportRestriction!\]!](/docs/api-reference/v3/reference/markets/import-restriction)` *required*

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

**fields**

**affectedProducts** `[ProductConnection!](/docs/api-reference/v3/pagination)` *required*

The products in the catalog that trip the rule.

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

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns products after it.

**before** `String`

Backward pagination cursor — returns products before it.

**first** `Int`

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

**last** `Int`

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

**Fields**

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

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

**nodes** `[\[Product!\]!](/docs/api-reference/v3/reference/catalog/product)` *required*

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

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

Pagination metadata for the current page.

**category** `[ImportRestrictionCategory](/docs/api-reference/v3/reference/markets/import-restriction-category)`

The kind of rule. Null when the source does not say.

**countryCode** `[CountryCode!](/docs/api-reference/v3/reference/common/country-code)` *required*

The destination country that imposes the restriction.

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

The id of this import restriction.

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

When screening last found a product in the catalog tripping the rule.

**market** `[Market!](/docs/api-reference/v3/reference/markets/market)` *required*

The market that sells into the restriction's country.

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

**fields**

**breakdownDisplay** `[LandedCostBreakdownDisplay!](/docs/api-reference/v3/reference/markets/landed-cost-breakdown-display)` *required*

How uncharged landed-cost lines appear in the checkout breakdown.

**breakdownLabels** `[MarketBreakdownLabels!](/docs/api-reference/v3/reference/markets/market-breakdown-labels)` *required*

Custom labels for the checkout landed-cost breakdown.

**countries** `[\[MarketCountry!\]!](/docs/api-reference/v3/reference/markets/market-country)` *required*

The destination countries this market sells into.

**coveredByMarkup** `[\[LandedCostComponent!\]!](/docs/api-reference/v3/reference/markets/landed-cost-component)` *required*

Landed-cost components whose checkout charge is absorbed by the markup, drawn down in order.

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

When the record was created.

**enabled** `Boolean!` *required*

Whether the market's pricing is live.

**excludedFromCheckout** `[\[LandedCostComponent!\]!](/docs/api-reference/v3/reference/markets/landed-cost-component)` *required*

Landed-cost components neither charged nor shown at checkout.

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

The id of this market.

**includedInPrice** `[\[LandedCostComponent!\]!](/docs/api-reference/v3/reference/markets/landed-cost-component)` *required*

Landed-cost components baked into product prices.

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

When prices were last pushed to the sales channel. Null until the first sync.

**markup** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The markup on the base price, as a fraction (e.g. "0.1" for 10%).

**markupStrategy** `[MarketMarkupStrategy!](/docs/api-reference/v3/reference/markets/market-markup-strategy)` *required*

How the markup combines with the landed cost in the price.

**name** `String`

The merchant-set name. Null when unnamed; the countries then identify the market.

**pricingMode** `[MarketPricingMode!](/docs/api-reference/v3/reference/markets/market-pricing-mode)` *required*

How landed costs are turned into prices.

**shopCurrency** `String!` *required*

The ISO 4217 currency of the store's base prices, which the market's prices are converted from.

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

When the record was last updated.

**regulationUrl** `String`

A link to the regulation or source the rule comes from, when known.

**resolutionNote** `String`

The note recorded when the rule was marked resolved. Null while open.

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

When the rule was marked resolved. Null while open.

**resolvedBy** `[Actor](/docs/api-reference/v3/reference/common/actor)`

Who marked the rule resolved: a team member or an API token. Null while open, when an automation or a change before this field resolved it, or when the team member has left the team.

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

**status** `[ImportRestrictionStatus!](/docs/api-reference/v3/reference/markets/import-restriction-status)` *required*

Whether the merchant has marked the rule resolved.

**summary** `String!` *required*

A plain-language summary of what the rule requires.

**tier** `[ImportRestrictionTier!](/docs/api-reference/v3/reference/markets/import-restriction-tier)` *required*

The most severe tier at which any product in the catalog trips the rule.

**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 {
  importRestrictions(after: "...", before: "...", countryCodes: "...", first: 10, last: 10, marketId: "...", orderBy: LAST_SEEN_AT, reverse: true, status: OPEN, tiers: ACTION_NEEDED) {
    nodes {
      category
      countryCode
      id
      lastSeenAt
      regulationUrl
      resolutionNote
      resolvedAt
      status
      # ...
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


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