--- title: CompanyContactRoleAssignmentSortKeys - GraphQL Admin description: The set of valid sort keys for the CompanyContactRoleAssignment query. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/companycontactroleassignmentsortkeys md: https://shopify.dev/docs/api/admin-graphql/latest/enums/companycontactroleassignmentsortkeys.md --- # Company​Contact​Role​Assignment​Sort​Keys enum The set of valid sort keys for the CompanyContactRoleAssignment query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` value. * LOCATION\_​NAME Sort by the `location_name` value. * UPDATED\_​AT Sort by the `updated_at` value. *** ## Fields * [Company​Contact.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyContact#field-CompanyContact.fields.roleAssignments.arguments.sortKey) ARGUMENT A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer). * [Company​Location.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation#field-CompanyLocation.fields.roleAssignments.arguments.sortKey) ARGUMENT A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location. *** ## Map ### Arguments with this enum * <-|[Company​Contact.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyContact#field-CompanyContact.fields.roleAssignments.arguments.sortKey) * <-|[Company​Location.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation#field-CompanyLocation.fields.roleAssignments.arguments.sortKey)