> 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/generate-offer-for-asset-ownership.md).

# generateOfferForAssetOwnership

Generates an asset purchase offer for the specified asset ownership.

### Arguments

| Argument                                                                                                                                                      | Description                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| input ([GenerateOfferForAssetOwnershipInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/generate-offer-for-asset-ownership-input.md)!) | Parameters for GenerateOfferForAssetOwnership |

### GenerateOfferForAssetOwnershipInput Arguments

| Argument                                                                                           | Description                                                                                    |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| assetOwnershipId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id.md)!)  | The ID of the asset ownership to generate an offer for                                         |
| successUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string.md)) | An optional URL to redirect the customer to after successful payment                           |
| failureUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string.md)) | An optional URL to redirect the customer to if the offer is accessed after its expiration time |

### Return fields

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

#### offer ([Offer](https://developer.firmhouse.com/graphql-api/api-reference/objects/offer.md))
