Billing Mutations

Interactive examples coming soon...

cancelSubscription :: PatientSubscription

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

createOrder :: Order

ArgumentTypeDescription
inputOrderInput!

addOrderItemToEncounter :: OrderItem

ArgumentTypeDescription
encounterIdID
productIdID
quantityDecimal

updateOrder :: Order

ArgumentTypeDescription
idID!
inputOrderInput!

updateProduct :: Product

ArgumentTypeDescription
idID!
inputProductInput!

endOfDayReport :: String

ArgumentTypeDescription
endDateTime
locationIdID!
startDateTime!

updateOrderItem :: OrderItem

ArgumentTypeDescription
idID!
inputOrderItemInput

addLinkedProduct :: Product

ArgumentTypeDescription
linkedProductIdID!
productIdID!

cancelSubscriptionSilently :: PatientSubscription

No arguments.

newVendor :: Vendor

ArgumentTypeDescription
inputVendorInput!

updateProductProductCategory :: Product

ArgumentTypeDescription
productCategoryIdID!
productIdID!

deleteWishlistItem :: WishlistItem

ArgumentTypeDescription
idID!

deleteOrderItem :: OrderItem

ArgumentTypeDescription
idID!

billingStatement :: String

ArgumentTypeDescription
clientIdID!

createPurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
inputPurchaseOrderInput

refundOrderItem :: OrderItem

ArgumentTypeDescription
creditBoolean
idID!
returnedBoolean

deleteLinkedProduct :: Product

ArgumentTypeDescription
linkedProductIdID!
productIdID!

addPackageToEstimate :: Estimate

ArgumentTypeDescription
estimateIdID!
packageIdID!
patientIdID

addPendingInvoiceItem :: PendingInvoiceItem

ArgumentTypeDescription
inputPendingInvoiceItemInput

updateVendor :: Vendor

ArgumentTypeDescription
idID!
inputVendorInput!

upsertProductLocationMarkup :: Location

ArgumentTypeDescription
locationIdID!
markupPercentDecimal
productIdID!

convertEstimateToOrder :: Estimate

ArgumentTypeDescription
idID!

deleteOrder :: Order

ArgumentTypeDescription
idID!

addPackageToEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
packageIdID!

addOrderItem :: OrderItem

ArgumentTypeDescription
encounterIdID
inputOrderItemInput
orderIdID!
productIdID

deletePurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
idID!

addToWishlist :: WishlistItem

ArgumentTypeDescription
locationIdID!
productIdID!

addPackageToOrder :: Order

ArgumentTypeDescription
orderIdID!
packageIdID!
patientIdID

applyAccountCredit :: Order

ArgumentTypeDescription
orderIdID!

updateLocationDistribution :: LocationDistribution

ArgumentTypeDescription
locationIdID!
purchaseOrderItemIdID!
quantityDecimal!

subscribePatients :: [Patient]

ArgumentTypeDescription
locationIdID!
nonceID
patientIds[ID]

deletePurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!

generateInvoice :: Order

ArgumentTypeDescription
idID!

deleteProduct :: Product

ArgumentTypeDescription
idID!

addPurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
orderIdID!
productIdID!

reopenOrder :: Order

ArgumentTypeDescription
idID!

updatePurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
idID!
inputPurchaseOrderItemInput!

updateWishlistItem :: WishlistItem

ArgumentTypeDescription
idID!
inputWishlistItemInput!

updatePurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!
inputPurchaseOrderInput!

createProduct :: Product

No arguments.

invoicePendingItems :: Order

ArgumentTypeDescription
clientIdID!
locationIdID

orderWishlist :: Location

ArgumentTypeDescription
locationIdID!

reorderOrderItems :: Order

ArgumentTypeDescription
fromIdID!
toIdID!