[[["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 API call creates a new Customer resource under a specified reseller or distributor account.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires a \u003ccode\u003eparent\u003c/code\u003e parameter, which is the resource name of the reseller account, formatted as \u003ccode\u003eaccounts/{account_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of the Customer resource, and a newly created instance of the customer resource is returned in the response.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful use of this API requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003ePotential error codes include \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e, which can occur if the reseller account is incorrect, or if the user lacks authorization, and \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e if required parameters are invalid.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.customers.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new [Customer](/channel/docs/reference/rest/v1alpha1/accounts.customers#Customer) resource under the reseller or distributor account.\n\nPossible error codes:\n\n- PERMISSION_DENIED:\n - The reseller account making the request is different from the reseller account in the API request.\n - You are not authorized to create a customer. See \u003chttps://support.google.com/channelservices/answer/9759265\u003e\n- INVALID_ARGUMENT:\n - Required request parameters are missing or invalid.\n - Domain field value doesn't match the primary email domain.\n\nReturn value: The newly created [Customer](/channel/docs/reference/rest/v1alpha1/accounts.customers#Customer) resource.\n\n### HTTP request\n\n`POST https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*}/customers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [Customer](/channel/docs/reference/rest/v1alpha1/accounts.customers#Customer).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Customer](/channel/docs/reference/rest/v1alpha1/accounts.customers#Customer).\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)."]]