T
T
tgiklvepgdhxr2020-07-16 12:22:52
1C-Bitrix
tgiklvepgdhxr, 2020-07-16 12:22:52

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

1 answer(s)
A
Alexey Emelyanov, 2020-07-16
@babarun

fields: {
              orderId: 75386            
              productId: 135,
              quantity: 1,
              name: 'test'
        }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question