PriceType
A price type, such as Adult or Junior. Each price is for one price category and one price type.
type PriceType { code: String! description: LocalisedString displayGroup: PriceTypeDisplayGroup forProductCategories: [ProductCategory!] forProductTypes: [ProductType!] id: Guid! isArchived: Boolean! name: String! rank: Int! ruleGroups: [RuleGroup!]!}Fields
Section titled “Fields”code ● String!non-nullscalar
Section titled “code ● String! ”The price type’s code.
The description that customers see in a product calendar. Each line is a bullet.
The display group that the price type is in.
forProductCategories ● [ProductCategory!]listobject
Section titled “forProductCategories ● [ProductCategory!] ”The product categories that can use the price type. Null: all of them.
The product types that can use the price type. Null: all of them.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
isArchived ● Boolean!non-nullscalar
Section titled “isArchived ● Boolean! ”Whether the price type is archived.
name ● String!non-nullscalar
Section titled “name ● String! ”The price type’s name.
rank ● Int!non-nullscalar
Section titled “rank ● Int! ”The rank. Lists show lower ranks first, and rank 1 is the default price type.
ruleGroups ● [RuleGroup!]!non-nullobject
Section titled “ruleGroups ● [RuleGroup!]! ”The rule groups applied to the price type.
Returned By
Section titled “Returned By”catalog.priceType query ● catalog.savePriceType mutation ● catalog.toggleArchivePriceType mutation

