> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/mutations/assign-asset.md).

# assignAsset

### Arguments

| Argument                                                                              | Description                |
| ------------------------------------------------------------------------------------- | -------------------------- |
| input ([AssignAssetInput](/graphql-api/api-reference/objects/assign-asset-input.md)!) | Parameters for AssignAsset |

### AssignAssetInput Arguments

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

### Return fields

#### asset ([Asset](/graphql-api/api-reference/objects/asset.md))

#### errors (\[[ModelValidationError](/graphql-api/api-reference/objects/model-validation-error.md)!]!)
