---
title: "GET /{projectKey}/import-containers/{importContainerKey}/import-operations"
method: GET
path: "/{projectKey}/import-containers/{importContainerKey}/import-operations"
---

# GET /{projectKey}/import-containers/{importContainerKey}/import-operations

`GET /{projectKey}/import-containers/{importContainerKey}/import-operations`

## Request

- Base URL: `https://import.europe-west1.gcp.commercetools.com`
- URL: `https://import.europe-west1.gcp.commercetools.com/{projectKey}/import-containers/{importContainerKey}/import-operations`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://auth.europe-west1.gcp.commercetools.com/oauth/token` scopes: `manage_import_containers:{projectKey}`, `view_import_containers:{projectKey}`
- TypeScript: <https://skmtc.dev/commercetools/apis/import-api/docs/:projectKey/import-containers/:importContainerKey/import-operations/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves all ImportOperations within an [ImportContainer](ctp:import:type:ImportContainer).

## Query parameters

- `limit` number, double
- `offset` number, double
- `sort` string[]
- `resourceKey` string
- `state` 'processing' | 'validationFailed' | 'unresolved' | 'waitForMasterVariant' | 'imported' | 'rejected' | 'canceled' | 'partiallyImported'
- `debug` boolean

## Response `200`

200

- ImportOperationPagedResponse
  - `limit` integer, required
  - `offset` integer, required
  - `count` integer, required
  - `total` integer, required
  - `results` ImportOperation[], required
    - `version` integer, required
    - `importContainerKey` string, required
    - `resourceKey` string, required
    - `id` string, required
    - `state` 'processing' | 'validationFailed' | 'unresolved' | 'waitForMasterVariant' | 'imported' | 'rejected' | 'canceled' | 'partiallyImported', required
    - `resourceVersion` integer
    - `errors` ErrorObject[]
      - `code` string, required
      - `message` string, required
    - `unresolvedReferences` UnresolvedReferences[]
      - `key` string, required
      - `typeId` 'associate-role' | 'business-unit' | 'cart' | 'cart-discount' | 'category' | 'channel' | 'customer' | 'customer-group' | 'discount-code' | 'key-value-document' | 'order' | 'payment' | 'price' | 'product' | 'product-discount' | 'product-type' | 'product-variant' | 'variant' | 'shipping-method' | 'state' | 'store' | 'tax-category' | 'type', required
    - `createdAt` string, datetime, required
    - `lastModifiedAt` string, datetime, required
    - `expiresAt` string, datetime, required

## Changes

- **2026-06-26** `13af4e5cda94`: 1 warning
  - added the new `variant` enum value to the `results/items/unresolvedReferences/items/typeId` response property for the response status `200`
- **2026-03-10** `14ecacebc5ee`: 1 warning, 1 info
  - added the new `partiallyImported` enum value to the `results/items/state` response property for the response status `200`
  - added the new enum value `partiallyImported` to the `query` request parameter `state`
- **2025-08-19** `31ad35794b9e`: 2 warning
  - added the new `associate-role` enum value to the `results/items/unresolvedReferences/items/typeId` response property for the response status `200`
  - added the new `business-unit` enum value to the `results/items/unresolvedReferences/items/typeId` response property for the response status `200`
- **2025-02-01** `75122f983b1b`: 2 info
  - added `InvalidFieldUpdate, NewMasterVariantAdditionNotAllowed` discriminator mapping keys to the `results/items/errors/items/` response property for the response status `200`
  - removed `ReferencedResourceNotFound` discriminator mapping keys from the `results/items/errors/items/` response property for the response status `200`
- **2024-08-22** `5830e96ad352`: 1 info
  - added `ReferencedResourceNotFound` discriminator mapping keys to the `results/items/errors/items/` response property for the response status `200`

[Operation history](https://skmtc.dev/commercetools/apis/import-api/changes/:projectKey/import-containers/:importContainerKey/import-operations/get.md)

---

[API](https://skmtc.dev/commercetools/apis/import-api.md) - [All operations](https://skmtc.dev/commercetools/apis/import-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commercetools/apis/import-api/revisions/980be2e37843?raw)
