salespersonCreate
mutation
Create salesperson
Adds a new salesperson (sales representative) to the company. Salespersons can be assigned to customers and earn commissions. Returns the created salesperson.
mutation {
salespersonCreate(companyId: Int!, data: SalespersonInsert!): Salesperson!
}Returns: Salesperson!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
data | SalespersonInsert! |