Price Types in the Trade Catalog: Overview of Methods

A price type is an object in the Trade Catalog that allows management of various pricing categories for products and services. A single product can have multiple price types: wholesale, retail, partner.

One of the price types must be designated as the base type. The base price type cannot be deleted.

Quick navigation: all methods and events

Relationship of Price Type with Other Objects

Price. When creating a price, you must specify its type. You can set and change the price using the methods catalog.price.*.

Price Rounding Rules. Set rounding parameters for each price type using the methods catalog.roundingRule.*.

Translations of Price Type Names. Specify the names of the price type for the languages used in Bitrix24. Use the methods catalog.priceTypeLang.*.

Overview of Methods and Events

Scope: catalog

Who can execute methods: administrator

Main

Method

Description

catalog.priceType.add

Adds a new price type

catalog.priceType.update

Modifies the values of the price type fields

catalog.priceType.get

Returns information about the price type by its identifier

catalog.priceType.list

Returns a list of price types by filter

catalog.priceType.delete

Deletes a price type

catalog.priceType.getFields

Returns the fields of the price type

Event

Triggered

CATALOG.PRICE.TYPE.ON.ADD

When a price type is added

CATALOG.PRICE.TYPE.ON.UPDATE

When a price type is updated

CATALOG.PRICE.TYPE.ON.DELETE

When a price type is deleted

Translations of Price Type Names

Method

Description

catalog.priceTypeLang.add

Adds a translation for the price type name

catalog.priceTypeLang.update

Updates the translation for the price type name

catalog.priceTypeLang.get

Returns the values of the fields for the translation of the price type name

catalog.priceTypeLang.list

Returns a list of translations of price type names by filter

catalog.priceTypeLang.delete

Deletes the translation for the price type name

catalog.priceTypeLang.getLanguages

Returns the available languages for translation

catalog.priceTypeLang.getFields

Returns the fields for the translation of the price type name

Binding Price Types to Customer Groups

Method

Description

catalog.priceTypeGroup.add

Adds a binding of the price type to a customer group

catalog.priceTypeGroup.list

Returns a list of bindings of price types to customer groups

catalog.priceTypeGroup.delete

Deletes the binding of the price type to a customer group

catalog.priceTypeGroup.getFields

Returns the fields for the binding of price types to customer groups