question

mtt avatar image
mtt asked Miguel Deactivated answered

lineItems on order create or update

Is it possible to add lineItems when creating/updating an order via REST API. My line items are not going through.

Sample request python dict:

{
    'manualTransaction': True,
    'note': 'asdf',
    'state': 'open',
    'total': '1234', 
    'lineItems': [{
      'name': receipt_label,
      'price': total_cents,  # clover takes cents
      'isRevenue': True,
    }]
  }
OrdersLineItems
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

Welcome to the
Clover Developer Community