Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

customerType Query

Look up a customer type by ID.

Added in Saleor 3.23
Requires one of the following permissions:AUTHENTICATED_STAFF_USERAUTHENTICATED_APPMANAGE_CUSTOMER_TYPES_AND_ATTRIBUTESMANAGE_USERS
customerType(id: ID!): CustomerType

Returns

CustomerType

Show return type
type CustomerType implements Node & ObjectWithMetadata {
  id: ID!
  privateMetadata: [MetadataItem!]!
  privateMetafield(key: String!): String
  privateMetafields(keys: [String!]): Metadata
  metadata: [MetadataItem!]!
  metafield(key: String!): String
  metafields(keys: [String!]): Metadata
  name: String!
  slug: String!
  isDefault: Boolean!
  attributes: [Attribute!]
  availableAttributes(where: AttributeWhereInput, search: String, before: String, after: String, first: Int, last: Int): AttributeCountableConnection
}

Arguments

id

id · ID!

ID of the customer type.


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?