Answer the question
In order to leave comments, you need to log in
Add a cart (or product) to Bitrix order via rest api?
Request example:
$basket = call('sale.basketitem.add', array(
'fields' => array(
'orderId' => '75386',
'quantity' => '1',
'name' => 'test',
)
));
Answer the question
In order to leave comments, you need to log in
fields: {
orderId: 75386
productId: 135,
quantity: 1,
name: 'test'
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question