crm.item.payment.delivery.add
crm.item.payment.delivery.add(paymentId: number, deliveryId : number)
Adds delivery into a payment.
Parameters
Parameter | Description |
---|---|
paymentId | Payment ID. |
deliveryId | Delivery ID. |
Example
BX.rest.callMethod( 'crm.item.payment.delivery.add', { paymentId: 179, deliveryId: 33, }, function(result) { if (result.error()) { console.error(result.answer.error_description); } else { console.log(result.data()); } } );
© «Bitrix24», 2001-2024