crm.item.productrow.add
Scope: catalog Permissions to execute: for all
crm.item.productrow.add({fields: {}})
Method creates new product SKU with fields. The new product SKU is bound to CRM item, indicated in the fields
ownerType
For invoices and standard entities see CRM constants (Column Short symbolic code
)
For custom fields use crm.enum.ownertype (Value in SYMBOL_CODE_SHORT
).
and ownerId.
Parameters
Parameter | Description | Available from version |
---|---|---|
fields | product SKU field value |
Values for some fields (priceExclusive and etc.) will be calculated automatically based on the provided data. They cannot be set manually. Full list of read-only fields can be specified via the method crm.item.productrow.fields.
The method returns a result similar to the called method crm.item.productrow.get for a newly created product SKU.