The documentation and types for PatchedOpportunityRequest are all marked as optional. However, the endpoint returns an error if all fields are not passed in when making a request to Salesforce.
{
"warnings": [],
"errors": [
{
"source": null,
"title": "Error",
"detail": "We've encountered an error while sending this request to the Salesforce API. Please contact [email protected] if this problem persists.",
"problem_type": "ERROR"
}
]
}
Tested that the opportuntity patch endpoint works as expected in a curl request if all model fields are passed in