Initiates a channel partner link between a distributor and a reseller, or between resellers in an n-tier reseller channel. Invited partners need to follow the inviteLinkUri provided in the response to accept. After accepting the invitation, a link is set up between the two parties. You must be a distributor to call this method.
Possible error codes:
PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
INVALID_ARGUMENT: Required request parameters are missing or invalid.
ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists.
NOT_FOUND: No Cloud Identity customer exists for provided domain.
INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
[[["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 method establishes a channel partner link between a distributor and a reseller, or between resellers within a multi-tier channel, requiring the invited party to accept via the provided \u003ccode\u003einviteLinkUri\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves a \u003ccode\u003ePOST\u003c/code\u003e HTTP request to \u003ccode\u003ehttps://cloudchannel.googleapis.com/v1/{parent=accounts/*}/channelPartnerLinks\u003c/code\u003e, using the \u003ccode\u003eaccount_id\u003c/code\u003e as the required path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of the \u003ccode\u003eChannelPartnerLink\u003c/code\u003e resource, and upon success, the response body returns a newly created \u003ccode\u003eChannelPartnerLink\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThis method is restricted to distributor accounts and requires the \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e, \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e, \u003ccode\u003eALREADY_EXISTS\u003c/code\u003e, \u003ccode\u003eNOT_FOUND\u003c/code\u003e, \u003ccode\u003eINTERNAL\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e are some of the potential error codes that may be returned by this API.\u003c/p\u003e\n"]]],[],null,[]]