How to create array "items" for the request shop.order.add? Archived

I make a request like this (python):

item = [{'type': 'product', 'sku_code':'ТР154', 'price': '199.0000', 'product_id': '594', 'sku_id': '594', 'quantity': '1'}]

items.append({'item': item})

data_post = {'contact_id': '109', 'items': items, 'comment': 'WOW2'}

An order is created with contacts, a comment is added, but there are no products! What am I doing wrong?

    This topic is in the archive. Posting new comments is disabled.