# createProduct

### Arguments

| Argument                                                                                                              | Description                  |
| --------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| input ([CreateProductInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/create-product-input)!) | Parameters for CreateProduct |

### CreateProductInput Arguments

| Argument                                                                                                                                               | Description                                                                                                                                                                                                                                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| metadata ([JSON](https://developer.firmhouse.com/graphql-api/api-reference/objects/json))                                                              | Metadata that can be used by developers to store additional information on objects.                                                                                                                                                                                                                           |
| slug ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                              | In case of an update the slug can also be used to identify the product instead of the ID, if ID is provided it will take precedence over the slug                                                                                                                                                             |
| sku ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                               |                                                                                                                                                                                                                                                                                                               |
| supplier ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                          |                                                                                                                                                                                                                                                                                                               |
| shopifyProductType ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                | The product category from Shopify                                                                                                                                                                                                                                                                             |
| eligibleForDiscount ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                             |                                                                                                                                                                                                                                                                                                               |
| interval ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                                                |                                                                                                                                                                                                                                                                                                               |
| intervalUnitOfMeasure ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                             |                                                                                                                                                                                                                                                                                                               |
| initialShipmentDelay ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                                    |                                                                                                                                                                                                                                                                                                               |
| initialShipmentDelayUnitOfMeasure ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                 |                                                                                                                                                                                                                                                                                                               |
| minimumCommitmentEnabled ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                        |                                                                                                                                                                                                                                                                                                               |
| minimumCommitmentUnit ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                             |                                                                                                                                                                                                                                                                                                               |
| minimumCommitmentPeriod ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                                 |                                                                                                                                                                                                                                                                                                               |
| maximumCommitmentEnabled ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                        |                                                                                                                                                                                                                                                                                                               |
| maximumCommitmentPeriod ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                                 |                                                                                                                                                                                                                                                                                                               |
| maximumCommitmentUnit ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                             |                                                                                                                                                                                                                                                                                                               |
| graceCancellationEnabled ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                        |                                                                                                                                                                                                                                                                                                               |
| graceCancellationPeriod ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                                 |                                                                                                                                                                                                                                                                                                               |
| graceCancellationUnit ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                             |                                                                                                                                                                                                                                                                                                               |
| productType ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                       |                                                                                                                                                                                                                                                                                                               |
| availableViaSsc ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                                 | If enabled the product can be added by existing customer via the self service center                                                                                                                                                                                                                          |
| available ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                                       | If enabled the product can be added to the checkout by new customers                                                                                                                                                                                                                                          |
| assetPurchasable ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                                                | If enabled, customers can purchase the assets assigned to this product via the self service center                                                                                                                                                                                                            |
| retailPriceCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                                        | The original retail price shown on the asset purchase flow                                                                                                                                                                                                                                                    |
| externalImageUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                  | Allows you to set the image for the product                                                                                                                                                                                                                                                                   |
| productGroupId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id))                                                            | The ID of the product group this product belongs to                                                                                                                                                                                                                                                           |
| titleTranslations (\[[TranslationInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/translation-input)!])                        | Translations for the product title in different locales                                                                                                                                                                                                                                                       |
| publicNameTranslations (\[[TranslationInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/translation-input)!])                   | Translations for the product public name in different locales                                                                                                                                                                                                                                                 |
| imageTranslations (\[[ImageTranslationInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/image-translation-input)!])             | Translations for the product image in different locales                                                                                                                                                                                                                                                       |
| countryOverrides (\[[ProductCountryOverrideInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/product-country-override-input)!]) | Country specific setting overrides for this product. These will override default product settings for specified countries. Add new or update override for existing name/countryCode combination. This feature is currently in beta and can be enabled on , request reach out to support for more information. |
| title ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)!)                                                            |                                                                                                                                                                                                                                                                                                               |
| priceCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)                                                             |                                                                                                                                                                                                                                                                                                               |
| taxRateId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)                                                                |                                                                                                                                                                                                                                                                                                               |
| prices (\[[PriceInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/price-input)!])                                               | Country specific prices set for this product. These price will override default product price for specified countries.                                                                                                                                                                                        |

### Return fields

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error)!]!)

#### product ([Product](https://developer.firmhouse.com/graphql-api/api-reference/objects/product))
