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:
catalogWho can execute methods: administrator
Main
|
Method |
Description |
|
Adds a new price type |
|
|
Modifies the values of the price type fields |
|
|
Returns information about the price type by its identifier |
|
|
Returns a list of price types by filter |
|
|
Deletes a price type |
|
|
Returns the fields of the price type |
|
Event |
Triggered |
|
When a price type is added |
|
|
When a price type is updated |
|
|
When a price type is deleted |
Translations of Price Type Names
|
Method |
Description |
|
Adds a translation for the price type name |
|
|
Updates the translation for the price type name |
|
|
Returns the values of the fields for the translation of the price type name |
|
|
Returns a list of translations of price type names by filter |
|
|
Deletes the translation for the price type name |
|
|
Returns the available languages for translation |
|
|
Returns the fields for the translation of the price type name |
Binding Price Types to Customer Groups
|
Method |
Description |
|
Adds a binding of the price type to a customer group |
|
|
Returns a list of bindings of price types to customer groups |
|
|
Deletes the binding of the price type to a customer group |
|
|
Returns the fields for the binding of price types to customer groups |