getSalespersonRelatedDocuments
query
Salesperson related documents
Retrieves all documents associated with a specific salesperson (invoices, receipts, etc.) where they earned commissions.
query {
getSalespersonRelatedDocuments(companyId: Int!, salespersonId: Int!, options: SalespersonRelatedDocumentsOptions): SalespersonRelatedDocuments!
}Returns: SalespersonRelatedDocuments!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
salespersonId | Int! | |
options | SalespersonRelatedDocumentsOptions |