Associates a user as a sales rep on an account.
The unique ID of the account.
A valid API key with a scope of SalesReps
The email address of the user to associate as a sales rep. The user must already have access to this account. The API resolves this email to an internal user record server-side; the raw ID is never exposed in responses.
The commission rate, from 0 to 1 inclusive (e.g. 0.05 for 5%). Defaults to 0 if omitted.
"userEmail": "jane.doe@example.com",
The supplied email must resolve to a user who already has access to this account; otherwise the request is rejected with a 400. commission must be between 0 and 1 inclusive if supplied.
Location — the URL of the newly created sales rep.
The sales rep was created.
userEmail is missing/blank, commission is outside the 0-1 range, or the email could not be resolved to a user with access to this account.
The API key is missing, invalid, disabled, or does not have the correct scope.
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key lacks the required scope.
That user is already a sales rep on this account.
The unique ID of the sales rep.
The resolved user's email address.