# generateOfferForAssetOwnership

### Arguments

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

### GenerateOfferForAssetOwnershipInput Arguments

| Argument                                                                                        | Description                                                                                    |
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| assetOwnershipId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)  | The ID of the asset ownership to generate an offer for                                         |
| successUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)) | An optional URL to redirect the customer to after successful payment                           |
| failureUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)) | 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)!])

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