Schema Documentation
LineItem
Description
a line item object
Fields
Field Name | Description |
---|---|
databaseId -
Int | The ID of the order item in the database |
itemDownloads -
[ProductDownload] | Line item's taxes |
metaData -
[MetaData] | Object meta data |
orderId -
Int | The Id of the order the order item belongs to. |
product -
LineItemToProductConnectionEdge | Connection between the LineItem type and the Product type |
productId -
Int | Line item's product ID |
quantity -
Int | Line item's product quantity |
subtotal -
String | Line item's subtotal |
subtotalTax -
String | Line item's subtotal tax |
taxClass -
TaxClassEnum | Line item's tax class |
taxStatus -
TaxStatusEnum | Line item's taxes |
taxes -
[OrderItemTax] | Line item's taxes |
total -
String | Line item's total |
totalTax -
String | Line item's total tax |
variation -
LineItemToProductVariationConnectionEdge | Connection between the LineItem type and the ProductVariation type |
variationId -
Int | Line item's product variation ID |
Example
{"databaseId":987,"itemDownloads":[ProductDownload],"metaData":[MetaData],"orderId":987,"product":LineItemToProductConnectionEdge,"productId":123,"quantity":123,"subtotal":"abc123","subtotalTax":"xyz789","taxClass":"INHERIT_CART","taxStatus":"NONE","taxes":[OrderItemTax],"total":"abc123","totalTax":"abc123","variation":LineItemToProductVariationConnectionEdge,"variationId":123}