---
description: Graphql fields and variables for the productImport mutation
---

# productImport

Create products in bulk from a JSON recipe

**Scope required:** product:write

For a complete list of input attributes see the [JSON](https://github.com/bunnyapp/docs-developer/blob/main/api-reference/types/json.md) type

```graphql
mutation productImport ($attributes: JSON!) {
  productImport (attributes: $attributes) {
      errors
      response
  }
}
```

## Arguments

```json
{
  "attributes": "JSON"
}
```

| Name       | Type | Description |
| ---------- | ---- | ----------- |
| attributes | JSON |             |

## Response

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| errors   | String |             |
| response | JSON   |             |
