Including Line Items in Requests

Unique items in your customers' purchases can be itemized as line items when you create or manage an order.
Line items
are used to include information about each item, such as product name, quantity, and price.
Line items are included in a request in the
lineItem[]
array request field.
These fields are required for each line item in your request:
Including Line Items
This example shows how to format line items in a request.
{ "orderInformation": { "lineItems": [ { "productName": "test-product-1", "quantity": 5, "productDescription": "description-123", "unitPrice": "20", "taxAmount": "10", "totalAmount": "100", "typeOfSupply": "01" }, { "productName": "test-product-2", "quantity": 1, "productDescription": "description-456", "unitPrice": "5", "taxAmount": "1", "totalAmount": "6", "typeOfSupply": "01" }, { "productName": "test-product-3", "quantity": 2, "productDescription": "description-789", "unitPrice": "4", "taxAmount": "2", "totalAmount": "10", "typeOfSupply": "01" } ] } }