# updateAsset

### Arguments

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

### UpdateAssetInput Arguments

| Argument                                                                                                                                    | Description                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)                                                            | The ID of the asset to update                                                                                                    |
| 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)!]!)
