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

# GET /{projectKey}/import-operations/{id}

`GET /{projectKey}/import-operations/{id}`

## Request

- Base URL: `https://import.europe-west1.gcp.commercetools.com`
- URL: `https://import.europe-west1.gcp.commercetools.com/{projectKey}/import-operations/{id}`
- 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-operations/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves an ImportOperation with the provided `id`.

## Response `200`

200

- ImportOperation
  - `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

## Other responses

- `404`: 404
- `503`: 503

## Changes

- **2026-06-26** `13af4e5cda94`: 1 warning
  - added the new `variant` enum value to the `unresolvedReferences/items/typeId` response property for the response status `200`
- **2026-03-10** `14ecacebc5ee`: 1 warning
  - added the new `partiallyImported` enum value to the `state` response property for the response status `200`
- **2025-08-19** `31ad35794b9e`: 2 warning
  - added the new `associate-role` enum value to the `unresolvedReferences/items/typeId` response property for the response status `200`
  - added the new `business-unit` enum value to the `unresolvedReferences/items/typeId` response property for the response status `200`
- **2025-02-01** `75122f983b1b`: 6 info
  - added `InvalidFieldUpdate, NewMasterVariantAdditionNotAllowed` discriminator mapping keys to the `errors/items/` response property for the response status `200`
  - added `InvalidFieldUpdate, NewMasterVariantAdditionNotAllowed` discriminator mapping keys to the `errors/items/` response property for the response status `404`
  - added `InvalidFieldUpdate, NewMasterVariantAdditionNotAllowed` discriminator mapping keys to the `errors/items/` response property for the response status `503`
  - removed `ReferencedResourceNotFound` discriminator mapping keys from the `errors/items/` response property for the response status `200`
  - …2 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/commercetools/apis/import-api/changes/:projectKey/import-operations/:id/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)
