Billing Mutations

Interactive examples coming soon...

addCreditMemo :: CreditMemo

ArgumentTypeDescription
clientIdID!
inputCreditMemoInput!

addLinkedProduct :: Product

ArgumentTypeDescription
linkedProductIdID!
productIdID!

addOrderItem :: [OrderItem]

ArgumentTypeDescription
encounterIdID
inputOrderItemInput
orderIdID!
productIdID

addOrderItemToEncounter :: OrderItem

ArgumentTypeDescription
encounterIdID
productIdID
quantityDecimal

addPackageToEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
packageIdID!
selectedItemIds[ID]

addPackageToEstimate :: Estimate

ArgumentTypeDescription
estimateIdID!
packageIdID!
patientIdID
selectedItemIds[ID]

addPackageToOrder :: Order

ArgumentTypeDescription
orderIdID!
packageIdID!
patientIdID
selectedItemIds[ID]

addPurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
orderIdID!
productIdID!

addToWishlist :: WishlistItem

ArgumentTypeDescription
locationIdID!
productIdID!

applyAccountCredit :: Order

ArgumentTypeDescription
orderIdID!

billingStatement :: String

ArgumentTypeDescription
clientIdID!

cancelSubscription :: PatientSubscription

ArgumentTypeDescription
idID!ID of subscription to cancel
noChargeBooleanCancel w/o charging the account a cancellation fee (silent cancel)

cancelSubscriptionSilently :: PatientSubscription

No arguments.

convertEstimateToOrder :: Estimate

ArgumentTypeDescription
idID!

createOrder :: Order

ArgumentTypeDescription
inputOrderInput!

createProduct :: Product

No arguments.

createPurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
inputPurchaseOrderInput

createStripePaymentIntent :: String

ArgumentTypeDescription
amountDecimal!
locationIdID!

creditMemoPdf :: String

ArgumentTypeDescription
idID!

deleteLinkedProduct :: Product

ArgumentTypeDescription
linkedProductIdID!
productIdID!

deleteOrder :: Order

ArgumentTypeDescription
idID!

deleteProduct :: Product

ArgumentTypeDescription
idID!

deletePurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!

deletePurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
idID!

deleteWishlistItem :: WishlistItem

ArgumentTypeDescription
idID!

emailClientPaymentReceipt :: String

ArgumentTypeDescription
paymentIdID!

emailProductsCsv :: String

ArgumentTypeDescription
recipients!

endOfDayReport :: String

ArgumentTypeDescription
endDateTime
locationIdID!
startDateTime!

generateInvoice :: Order

ArgumentTypeDescription
idID!

invoiceBarcodesPdf :: String

ArgumentTypeDescription
orderIdID!

invoicePendingItems :: Order

ArgumentTypeDescription
clientIdID!
locationIdID

newVendor :: Vendor

ArgumentTypeDescription
inputVendorInput!

orderWishlist :: Location

ArgumentTypeDescription
locationIdID!

paymentReceiptPdf :: String

ArgumentTypeDescription
paymentIdID!

refundOrderItem :: OrderItem

ArgumentTypeDescription
creditBoolean
idID!
notRenderedBoolean
returnedBoolean

reopenOrder :: Order

ArgumentTypeDescription
idID!

reorderOrderItems :: Order

ArgumentTypeDescription
fromIdID!
toIdID!

saveEstimate :: Estimate

ArgumentTypeDescription
idID!

sendPaymentRequest :: String

ArgumentTypeDescription
amountDecimal
clientIdID!
donationDecimal
locationIdID
mediumConversationMedium
methodPaymentMethod
orderIdID
orderTypeString
tipDecimal

subscribePatients :: [Patient]

ArgumentTypeDescription
complimentaryBoolean
locationIdID!
nonceString
patientIds[ID]

updateOrder :: Order

ArgumentTypeDescription
idID!
inputOrderInput!

updateOrderItem :: OrderItem

ArgumentTypeDescription
idID!
inputOrderItemInput!

updateProductProductCategory :: Product

ArgumentTypeDescription
productCategoryIdID!
productIdID!

updatePurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!
inputPurchaseOrderInput!

updatePurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
idID!
inputPurchaseOrderItemInput!

updateVendor :: Vendor

ArgumentTypeDescription
idID!
inputVendorInput!

updateWishlistItem :: WishlistItem

ArgumentTypeDescription
idID!
inputWishlistItemInput!

uploadMassProducts :: String

ArgumentTypeDescription
fileUpload!

upsertLowStockThreshold :: LowStockThreshold

ArgumentTypeDescription
inputLowStockThresholdInput!

upsertPackageLocationMarkup :: LocationOrLocationTag

ArgumentTypeDescription
locationIdID
locationTagIdID
markupPercentDecimal
packageIdID!

upsertProductLocationMarkup :: LocationOrLocationTag

ArgumentTypeDescription
locationIdID
locationTagIdID
markupPercentDecimal
productIdID!

upsertProductTypeLocationMarkup :: Location

ArgumentTypeDescription
locationIdID
locationTagIdID
markupPercentDecimal
productTypeIdID!