# assignAsset

### Arguments

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

### AssignAssetInput Arguments

| Argument                                                                                      | Description                                                                                    |
| --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)              | The ID of the asset to assign                                                                  |
| subscriptionId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)  | The subscription ID to assign the asset to                                                     |
| orderedProductId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)) | An optional ordered product ID to assign the asset to (has to belong to the same subscription) |

### 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)!]!)
