Skip to content

CRM opportunity.partialUpdate documentation is incorrect #13

@lazjake

Description

@lazjake

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions