CurrentUserProfile - Returns the current authenticated user profile
query {
CurrentUserProfile {
id
user_id
company_id
active
label
prevent_negative_inventory
selling_price_level_id
selling_price_level { id }
tax_type
location_id
location { id }
account_representative_id
account_representative { id }
tax_codes { id }
employee_id
employee { id }
cart_items { id }
last_accessed_at
company { id }
user { id }
has_booked_call
impersonating_user_profile { id }
}
}
UserProfile - Returns a single user profile based on the id provided
query GetUserProfile($id: ID) {
UserProfile(id: $id) {
id
user_id
company_id
active
label
prevent_negative_inventory
selling_price_level_id
selling_price_level { id }
tax_type
location_id
location { id }
account_representative_id
account_representative { id }
tax_codes { id }
employee_id
employee { id }
cart_items { id }
last_accessed_at
company { id }
user { id }
has_booked_call
impersonating_user_profile { id }
}
}
{
"id": 100012
}
UserProfiles - Returns a list of user profiles based on filters and ordering
query UserProfiles(
$where: QueryUserProfilesWhereWhereConditions,
$orderBy: [QueryUserProfilesOrderByOrderByClause!]
) {
UserProfiles(
where: $where
orderBy: $orderBy
) {
data {
id
user_id
company_id
active
label
selling_price_level_id
location_id
account_representative_id
employee_id
last_accessed_at
}
}
}