[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis webpage details how to retrieve an Opportunity resource using a GET request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e path parameter, representing the opportunity identifier, and an optional \u003ccode\u003epartner\u003c/code\u003e query parameter, which is the ID of the partner.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request body must be empty, and a successful request will return an Opportunity resource in the response body.\u003c/p\u003e\n"],["\u003cp\u003eThe user must have the \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e OAuth scope to be authorized to view the opportunity.\u003c/p\u003e\n"],["\u003cp\u003eThe common error codes that may occur are \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e, \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e, and \u003ccode\u003eNOT_FOUND\u003c/code\u003e, indicating permission issues, missing or invalid parameters, and a lack of resource, respectively.\u003c/p\u003e\n"]]],[],null,["# Method: opportunities.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReturns the requested [Opportunity](/channel/docs/reference/rest/v1alpha1/opportunities#Opportunity) resource.\n\nPossible error codes:\n\n- PERMISSION_DENIED: The user making the request isn't allowed to view the opportunity.\n- INVALID_ARGUMENT: Required request parameters are missing or invalid.\n- NOT_FOUND: No [Opportunity](/channel/docs/reference/rest/v1alpha1/opportunities#Opportunity) resource found for the name in the request.\n\nReturn value: The [Opportunity](/channel/docs/reference/rest/v1alpha1/opportunities#Opportunity) resource.\n\n### HTTP request\n\n`GET https://cloudchannel.googleapis.com/v1alpha1/{name=opportunities/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Opportunity](/channel/docs/reference/rest/v1alpha1/opportunities#Opportunity).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.order`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]