question

yilipiao avatar image
yilipiao asked David Marginian Deactivated answered

The lineItems doesn't show quantity of items?

{
  elements: [
    {
      id: '*********',
      orderRef: [Object],
      item: [Object],
      name: '**********X',
      price: 3990,
      itemCode: '615033001803',
      printed: false,
      createdTime: 1622080549000,
      orderClientCreatedTime: 1622080497000,
      discounts: [Object],
      exchanged: false,
      refunded: false,
      isRevenue: true
    }
  ]
}

So the lineItems of order doesn't show the quantity of item sold?

How should I get it?

REST API
10 |2000

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

1 Answer

David Marginian avatar image
David Marginian Deactivated answered

Each line item represents a single item.

10 |2000

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

Welcome to the
Clover Developer Community