- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an existing Customer
resource for the reseller or distributor.
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.
- NOT_FOUND: No
Customer
resource found for the name in the request.
Return value: The updated Customer
resource.
HTTP request
PATCH https://cloudchannel.googleapis.com/v1/{customer.name=accounts/*/customers/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customer. |
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id} |
Query parameters
Parameters | |
---|---|
update |
The update mask that applies to the resource. Optional. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Customer
.
Response body
If successful, the response body contains an instance of Customer
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.