# productCreate

Create a product

**Scope required:** product:write

For a complete list of input attributes see the [ProductAttributes](https://docs.bunny.com/developer/api-reference/types/productattributes) type

```graphql
mutation productCreate ($attributes: ProductAttributes!) {
  productCreate (attributes: $attributes) {
      errors
      product {
        code
        createdAt
        customFieldsData
        description
        everythingInPlus
        hasCustomFields
        id
        internalNotes
        name
        plansToDisplay
        platformId
        productCategoryId
        showProductNameOnLineItem
        updatedAt
      }
  }
}
```

## Arguments

```json
{
  "attributes": {
    "name": "",
    "code": "",
    "platformId": "456123",
    "everythingInPlus": true,
    "description": "",
    "internalNotes": "",
    "productCategoryId": "456123",
    "showProductNameOnLineItem": true,
    "plansToDisplay": 123
  }
}
```

| Name       | Type                                                                                        | Description |
| ---------- | ------------------------------------------------------------------------------------------- | ----------- |
| attributes | [ProductAttributes](https://docs.bunny.com/developer/api-reference/types/productattributes) |             |

## Response

| Name    | Type                                                                    | Description |
| ------- | ----------------------------------------------------------------------- | ----------- |
| errors  | List (String)                                                           |             |
| product | [Product](https://docs.bunny.com/developer/api-reference/types/product) |             |
