AI-generated Key Takeaways
-
This document details how to update an Opportunity for a Partner using a PATCH HTTP request.
-
The request utilizes path and query parameters to specify which opportunity to update and which fields to modify.
-
The request and response bodies both contain an instance of the Opportunity resource.
-
Authorization requires the
https://www.googleapis.com/auth/cloudcrmpartners
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an Opportunity for a Partner.
HTTP request
PATCH https://cloudcrmpartners.googleapis.com/v1/{opportunity.name=partners/*/opportunities/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
opportunity. |
Format: partners/{partner_id}/opportunities/{opportunity_id} |
Query parameters
Parameters | |
---|---|
update |
The update mask applies to the resource. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Opportunity
.
Response body
If successful, the response body contains an instance of Opportunity
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloudcrmpartners
For more information, see the OAuth 2.0 Overview.