Description#
The CustomerPersons module allows external clients to manage customer person records. It provides queries to retrieve customer person information and mutations to update or delete customer person records.
Entity Model#
| Field | Type | Description |
|---|
_id | ID! | Unique identifier of the customer person. |
customer | ID! | Reference to the customer this person belongs to. |
type | CustomerType! | Type of the customer person (e.g., JR_AGENT, PERSON, ADMIN, OWNER, ROBOT). |
status | CPersonStatus! | Status of the customer person. |
firstName | String! | First name of the person. |
lastName | String! | Last name of the person. |
profilePhoto | String | URL of the profile photo. |
email | String! | Email address of the customer person. |
phone | String | Phone number of the customer person. |
language | String | Preferred language of the customer person. |
Queries#
Get Customer Person#
Use this query to get single customer person.
Get Customer Person List#
Use this query to fetch customer person list for the customerMutations#
Update Customer Person#
Use this mutation to update the customer person
Example Usage#
Query Example — Get Customer Person List#
Mutation Example — Update Customer Person#
Modified at 2025-09-28 17:08:31