Object

OrderItem

An order item is a single line item of an order that registers the bill for a product

Usage Example
query {
# Use this type in your queries
someQuery {
cityTaxCents
cityTaxRate
countyTaxCents
countyTaxRate
couponDiscount
}
}

Fields

cityTaxCentsInt
cityTaxRateDecimal
countyTaxCentsInt
countyTaxRateDecimal
couponDiscountPrice
DEPRECATED: Please use `itemDiscountWithOrderDiscountCents`
creditedBoolean
creditedQuantityDecimal
dateDate
declinedBoolean
departmentDepartment
discountPrice
DEPRECATED: Please use `totalDiscountCents` instead
discountAmountDecimal
discountedBoolean
dispenseFeeDecimal
fulfilledExternallyBoolean
hiddenBoolean
historicalIdString
idID
inPackageBoolean
insertedAtNaiveDateTime
isPackageBoolean
isSecretlyIncludedBoolean
isTaxedBoolean
DEPRECATED: This field is deprecated and will only ever return an order item's `is_taxed_other`. OrderItems now have various tax rate fields you may want to read. Please update your queries to pull from `isTaxedOther`, `isTaxedCity`, `isTaxedState`, and `isTaxedCounty`.
isTaxedCityBoolean
isTaxedCountyBoolean
isTaxedOtherBoolean
isTaxedStateBoolean
itemDiscountWithOrderDiscountCentsInt
itemDiscountWithoutOrderDiscountCentsInt
lineDiscountDecimal
DEPRECATED: Please use `itemDiscountWithoutOrderDiscountCents`
lineDiscountReasonString
lineDiscountTypeDiscountType
lotNumberString
medicationMedication
medicationIdID
memberDiscountPrice
DEPRECATED: Please sum `planDiscountCents` and `memberDiscountCents`
memberDiscountCentsInt
minimumPriceDecimal
nameString
notRenderedBoolean
orderOrder
orderDiscountCentsInt
otherTaxCentsInt
otherTaxRateDecimal
patientPatient
percentDiscountedDecimal
planDiscountCentsInt
positionInt
priceIncludedBoolean
productProduct
productIdID
providerProvider
quantityDecimal
quantityCreditedDecimal
quantityNotRenderedDecimal
quantityRemainingDecimal
refundedBoolean
refundedAtNaiveDateTime
refundedQuantityDecimal
returnedBoolean
returnedOrderItems[ReturnedOrderItem]
returnedQuantityDecimal
sourceOrderItemIdID
stateTaxCentsInt
stateTaxRateDecimal
subtotalPrice
DEPRECATED: Please use `subtotalCents`
subtotalCentsInt
DEPRECATED: Please sum all `*TaxCents`
totalPrice
DEPRECATED: Please use `totalBeforeTaxCents`
totalAfterTaxCentsInt
totalBeforeTaxCentsInt
totalDiscountCentsInt
totalPriceDecimal
+
DEPRECATED: Please use `totalBeforeTaxCents`, or for without discount use `subtotalCents`
undeletableBoolean
unitPriceDecimal
updatedAtNaiveDateTime
volumeTiers[PriceTier]