sale.order.add
Scope: catalog Permissions to execute: for all
sale.order.add(fields)
The method adds an order.
When successful, returns order resource in response body.
Parameters
Parameter | Type | Description |
---|---|---|
fields | object | Fields, corresponding to available list of fields. |
Examples
BX24.callMethod( 'sale.order.add', { fields: { siteId: 's1', userId: 1, orderTopic: '', responsibleId: 1, userDescription: '', personTypeId: 1 } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024