Skip to main content
INPUT_OBJECT Line-item details about what was purchased with a given order. It includes items, quantity, price, product codes, and other pertinent details.

Fields

description
String!
required
Description of the goods or services.
commodityCode
String!
required
A specific code used to classify and categorize the type of goods and services being purchased.
productCode
String!
required
The supplier’s unique product identifier, inventory number, or UPC code used to identity a specific product.
discount
LineItemDiscountInput
Details regarding any discounts applied to the line item.
taxes
LineItemTaxesInput
Tax details applicable to the individual line item. If the item is not taxable, these fields should be set to null.
lineItemAmount
Decimal!
required
The total amount of the item. Calculated as [Unit price * Unit quantity]
productSku
String!
required
A SKU, or Stock Keeping Unit, is a unique alphanumeric code assigned by a retailer to identify and track each distinct product or product variation within their inventory.
unitPrice
Decimal!
required
The “per unit” price of the line item.
unitQuantity
Int!
required
The number of units included in the line item.
unitOfMeasure
String!
required
The metric used for understanding the quantity of a given line item. e.g., for quantities, use “each” or “piece” for length, use “meter” or “inch” for volume, use “liter” or “gallon” and for weight, use “gram” or “pound”, etc.