# createAsset

### Arguments

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

### CreateAssetInput Arguments

| Argument                                                                                                                                    | Description                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| subscriptionId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id))                                                 | The ID of the subscription to assign this asset to                                                                               |
| productId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)                                                     | The ID of the product for this asset                                                                                             |
| internalNumber ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)!)                                        | Mandatory number used to identify the asset                                                                                      |
| externalNumber ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                         | Optional additional number used to identify the asset                                                                            |
| notes ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                                  | Additional information about the specific asset                                                                                  |
| status ([AssetStatus](https://developer.firmhouse.com/graphql-api/api-reference/objects/asset-status))                                      | Status of this asset (available, at\_customer, purchased, in\_refurbishment, scrapped, lost, back\_to\_supplier or unavailable). |
| expectedAvailabilityOn ([ISO8601Date](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date))                     | Date on which the asset is expected to be available.                                                                             |
| purchasedAt ([ISO8601Date](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date))                                | Date on which the asset is purchased.                                                                                            |
| depreciatedOn ([ISO8601Date](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date))                              | Date on which the asset is depreciated.                                                                                          |
| scrappedOn ([ISO8601Date](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date))                                 | Date on which the asset is scrapped.                                                                                             |
| assetCustomFields (\[[AssetCustomFieldInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/asset-custom-field-input)!]) | Associated custom field values for this asset.                                                                                   |

### Return fields

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

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