Skip to content

PriceTypeInput

A price type to save.

input PriceTypeInput {
code: String!
description: LocalisedString
displayGroupId: Guid
forProductCategoryIds: [Guid!]
forProductTypes: [ProductType!]
id: Guid
name: String!
rank: Int!
ruleGroupIds: [Guid!]!
}

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.

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.

The item to update. Omitted: a new item is created.

The price type’s name.

The rank. Lists show lower ranks first, and rank 1 is the default price type.

The rule groups applied to the price type.

catalog.savePriceType mutation