Available queries

Associated queryReturns multiple results
LineItem
LineItems✔️

Available fields

LabelTypeNotesNull
batchesBatchesThe line item's batch id✔️
changedDateThe date of the line item's last modification
costdecimal(12,4)The product's cost used to calculate your moving average cost✔️
createdDateThe date of the line item's creation
customerCustomerThe customer✔️
descriptionstringThe line item's description✔️
discountdecimal(10,2)The discount applied to the line item✔️
discount_typeintegerThe type of discount applied, if there is one✔️
idintegerThe line item's id
packPackThe pack used in the line item (if there is one)✔️
pack_quantityintegerThe quantity of packs used in the line item✔️
pricedecimal(12,4)The price✔️
productLine item productsThe product (might be a product or a service)
quantitydecimal(17,7)The quantity
taxesTaxThe taxes applied to this line item✔️
tax_amountintegerThe tax amount✔️
totaldecimal(12,2)The total✔️
weightintegerThe weight of the line item✔️

Example of a query

query{ LineItems{ edges{ node{ changed batches{ edges{ node{ id } } } cost created customer{ id } description discount discount_type id pack{ id } pack_quantity price product{ id } quantity taxes{ edges{ node{ id } } } tax_amount total weight } } } }