| Argument | Type | Description |
|---|---|---|
clientIdrequired | ID! | ID of the client (pet owner) |
inputrequired | CreditMemoInput! | Input |
mutation( $clientId: ID!, $input: CreditMemoInput!) { addCreditMemo( clientId: $clientId, input: $input ) { id # Add other fields you need }}{ "clientId": "1", "input": {}}mutation( $linkedProductId: ID!, $productId: ID!) { addLinkedProduct( linkedProductId: $linkedProductId, productId: $productId ) { id # Add other fields you need }}{ "linkedProductId": "1", "productId": "1"}| Argument | Type | Description |
|---|---|---|
departmentId | ID | ID of the department |
encounterId | ID | ID of the clinical encounter |
input | OrderItemInput | Input data for order item operation |
orderIdrequired | ID! | ID of the order |
productId | ID | ID of the product |
mutation( $departmentId: ID, $encounterId: ID, $input: OrderItemInput, $orderId: ID!, $productId: ID) { addOrderItem( departmentId: $departmentId, encounterId: $encounterId, input: $input, orderId: $orderId, productId: $productId ) { id # Add other fields you need }}{ "departmentId": "1", "encounterId": "1", "input": {}, "orderId": "1", "productId": "1"}mutation( $estimateId: ID!, $packageId: ID!, $patientId: ID, $selectedItemIds: [ID]) { addPackageToEstimate( estimateId: $estimateId, packageId: $packageId, patientId: $patientId, selectedItemIds: $selectedItemIds ) { id # Add other fields you need }}{ "estimateId": "1", "packageId": "1", "patientId": "1", "selectedItemIds": "1"}mutation( $orderId: ID!, $packageId: ID!, $patientId: ID, $selectedItemIds: [ID]) { addPackageToOrder( orderId: $orderId, packageId: $packageId, patientId: $patientId, selectedItemIds: $selectedItemIds ) { id # Add other fields you need }}{ "orderId": "1", "packageId": "1", "patientId": "1", "selectedItemIds": "1"}mutation( $orderId: ID!, $productId: ID!) { addPurchaseOrderItem( orderId: $orderId, productId: $productId ) { id # Add other fields you need }}{ "orderId": "1", "productId": "1"}mutation($orderId: ID!) { applyAccountCredit(orderId: $orderId) { id # Add other fields you need }}{ "orderId": "1"}| Argument | Type | Description |
|---|---|---|
clientIdrequired | ID! | ID of the client (pet owner) |
mutation($clientId: ID!) { billingHistory(clientId: $clientId) { id # Add other fields you need }}{ "clientId": "1"}mutation( $clientId: ID!, $locationId: ID!) { billingStatement( clientId: $clientId, locationId: $locationId ) { id # Add other fields you need }}{ "clientId": "1", "locationId": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { convertEstimateToOrder(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
inputrequired | BillingGroupInput! | Input |
mutation($input: BillingGroupInput!) { createBillingGroup(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | CreditReasonInput! | Input |
mutation($input: CreditReasonInput!) { createCreditReason(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | DiscountReasonInput! | Input |
mutation($input: DiscountReasonInput!) { createDiscountReason(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | InvoiceLineItemReasonInput! | Input |
mutation($input: InvoiceLineItemReasonInput!) { createInvoiceLineItemReason(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | OrderInput! | Input |
mutation($input: OrderInput!) { createOrder(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | PaymentReasonInput! | Input |
mutation($input: PaymentReasonInput!) { createPaymentReason(input: $input) { id # Add other fields you need }}{ "input": {}}mutation { createProduct { id # Add other fields you need }}| Argument | Type | Description |
|---|---|---|
inputrequired | ProductManufacturerInput! | Input |
mutation($input: ProductManufacturerInput!) { createProductManufacturer(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
input | PurchaseOrderInput | Input data for purchase order operation |
mutation($input: PurchaseOrderInput) { createPurchaseOrder(input: $input) { id # Add other fields you need }}{ "input": {}}mutation( $amount: Decimal!, $locationId: ID!) { createStripePaymentIntent( amount: $amount, locationId: $locationId ) { id # Add other fields you need }}{ "amount": {}, "locationId": "1"}mutation($id: ID!) { creditMemoPdf(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deleteBillingGroup(id: $id) { id # Add other fields you need }}{ "id": "1"}mutation( $linkedProductId: ID!, $productId: ID!) { deleteLinkedProduct( linkedProductId: $linkedProductId, productId: $productId ) { id # Add other fields you need }}{ "linkedProductId": "1", "productId": "1"}mutation($id: ID!) { deleteOrder(id: $id) { id # Add other fields you need }}{ "id": "1"}mutation($id: ID!) { deleteProduct(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deleteProductManufacturer(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deletePurchaseOrder(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { deletePurchaseOrderItem(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { disableCreditReason(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { disableDiscountReason(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { disableInvoiceLineItemReason(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { disablePaymentReason(id: $id) { id # Add other fields you need }}{ "id": "1"}Downloads billing statements for all clients in the specified billing group as a combined PDF. Returns a base64-encoded PDF file.
mutation( $billingGroupId: ID!, $endDate: Date, $locationId: ID!, $startDate: Date) { downloadBillingGroupStatements( billingGroupId: $billingGroupId, endDate: $endDate, locationId: $locationId, startDate: $startDate ) { id # Add other fields you need }}{ "billingGroupId": "1", "endDate": {}, "locationId": "1", "startDate": {}}Emails billing statements to all clients in the specified billing groups. Each client with a billing email on file will receive their own billing statement. When `emailAll` is true, emails all billing groups in the org.
mutation( $billingGroupIds: [ID!], $emailAll: Boolean, $endDate: Date, $locationId: ID!, $startDate: Date) { emailBillingGroupStatements( billingGroupIds: $billingGroupIds, emailAll: $emailAll, endDate: $endDate, locationId: $locationId, startDate: $startDate ) { id # Add other fields you need }}{ "billingGroupIds": {}, "emailAll": true, "endDate": {}, "locationId": "1", "startDate": {}}Either zips & emails all billing statements at the given location to the list of provided emails, or if no emails are provided, emails each client their billing statement if they have one.
mutation( $clientId: ID, $emails: [String], $endDate: Date, $locationId: ID!, $startDate: Date) { emailBillingStatements( clientId: $clientId, emails: $emails, endDate: $endDate, locationId: $locationId, startDate: $startDate ) { id # Add other fields you need }}{ "clientId": "1", "emails": "example", "endDate": {}, "locationId": "1", "startDate": {}}mutation( $clientId: ID!, $locationId: ID!) { emailClientBillingStatement( clientId: $clientId, locationId: $locationId ) { id # Add other fields you need }}{ "clientId": "1", "locationId": "1"}| Argument | Type | Description |
|---|---|---|
paymentIdrequired | ID! | ID of the payment |
mutation($paymentId: ID!) { emailClientPaymentReceipt(paymentId: $paymentId) { id # Add other fields you need }}{ "paymentId": "1"}| Argument | Type | Description |
|---|---|---|
creditMemoIdrequired | ID! | ID of the credit memo |
mutation($creditMemoId: ID!) { emailCreditMemoToClient(creditMemoId: $creditMemoId) { id # Add other fields you need }}{ "creditMemoId": "1"}| Argument | Type | Description |
|---|---|---|
estimateIdrequired | ID! | ID of the estimate |
mutation($estimateId: ID!) { emailEstimateToClient(estimateId: $estimateId) { id # Add other fields you need }}{ "estimateId": "1"}| Argument | Type | Description |
|---|---|---|
categoryIds | [ID] | List of category IDs to filter by |
code | String | Unique code identifier |
diagnosticCode | String | Diagnostic or ICD code |
diagnosticCodeOrgLabType | OrgLabType | Organization lab type for diagnostic code |
excludeChildren | Boolean | Exclude child records from results |
hasDiagnosticCode | Boolean | Has diagnostic code |
ids | [ID] | List of IDs |
isControlledDrug | Boolean | Is controlled drug |
isNonCompensated | Boolean | Is non compensated |
locationIdrequired | ID! | ID of the location |
name | String | Name of the resource |
onlyBelowThreshold | ID | Only below threshold |
onlyEnabledAt | ID | Only enabled at |
onlyTrackInventory | Boolean | Only track inventory |
partialProductId | String | ID of the partialproduct |
recipientsrequired | [String]! | Recipients |
sku | String | Sku |
sortBy | SortProductOptions | Sort by |
typeIds | [ID] | List of type IDs |
updatedAtEnd | NaiveDateTime | Updated at end |
updatedAtStart | NaiveDateTime | Updated at start |
mutation( $categoryIds: [ID], $code: String, $diagnosticCode: String, $diagnosticCodeOrgLabType: OrgLabType, $excludeChildren: Boolean, $hasDiagnosticCode: Boolean, $ids: [ID], $isControlledDrug: Boolean, $isNonCompensated: Boolean, $locationId: ID!, $name: String, $onlyBelowThreshold: ID, $onlyEnabledAt: ID, $onlyTrackInventory: Boolean, $partialProductId: String, $recipients: [String]!, $sku: String, $sortBy: SortProductOptions, $typeIds: [ID], $updatedAtEnd: NaiveDateTime, $updatedAtStart: NaiveDateTime) { emailFilteredProducts( categoryIds: $categoryIds, code: $code, diagnosticCode: $diagnosticCode, diagnosticCodeOrgLabType: $diagnosticCodeOrgLabType, excludeChildren: $excludeChildren, hasDiagnosticCode: $hasDiagnosticCode, ids: $ids, isControlledDrug: $isControlledDrug, isNonCompensated: $isNonCompensated, locationId: $locationId, name: $name, onlyBelowThreshold: $onlyBelowThreshold, onlyEnabledAt: $onlyEnabledAt, onlyTrackInventory: $onlyTrackInventory, partialProductId: $partialProductId, recipients: $recipients, sku: $sku, sortBy: $sortBy, typeIds: $typeIds, updatedAtEnd: $updatedAtEnd, updatedAtStart: $updatedAtStart ) { id # Add other fields you need }}{ "categoryIds": "1", "code": "example", "diagnosticCode": "example", "diagnosticCodeOrgLabType": {}, "excludeChildren": true, "hasDiagnosticCode": true, "ids": "1", "isControlledDrug": true, "isNonCompensated": true, "locationId": "1", "name": "example", "onlyBelowThreshold": "1", "onlyEnabledAt": "1", "onlyTrackInventory": true, "partialProductId": "example", "recipients": {}, "sku": "example", "sortBy": {}, "typeIds": "1", "updatedAtEnd": {}, "updatedAtStart": {}}mutation( $locationId: ID!, $recipients: [String]!) { emailInventoryCsv( locationId: $locationId, recipients: $recipients ) { id # Add other fields you need }}{ "locationId": "1", "recipients": {}}mutation( $coownerClientId: ID, $invoiceId: ID!) { emailInvoiceToClient( coownerClientId: $coownerClientId, invoiceId: $invoiceId ) { id # Add other fields you need }}{ "coownerClientId": "1", "invoiceId": "1"}mutation( $locationIds: [ID], $recipients: [String]!) { emailProductsCsv( locationIds: $locationIds, recipients: $recipients ) { id # Add other fields you need }}{ "locationIds": "1", "recipients": {}}mutation( $end: DateTime, $locationId: ID!, $start: DateTime!) { endOfDayReport( end: $end, locationId: $locationId, start: $start ) { id # Add other fields you need }}{ "end": {}, "locationId": "1", "start": {}}mutation($id: ID!) { generateInvoice(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
orderIdrequired | ID! | ID of the order |
mutation($orderId: ID!) { groupOrderItemsByPatient(orderId: $orderId) { id # Add other fields you need }}{ "orderId": "1"}mutation($orderId: ID!) { invoiceBarcodesPdf(orderId: $orderId) { id # Add other fields you need }}{ "orderId": "1"}| Argument | Type | Description |
|---|---|---|
discountAmountrequired | Decimal! | Amount of discount to apply |
discountTyperequired | DiscountType! | Type of discount (percentage or fixed amount) |
note | String | Note |
orderIdrequired | ID! | ID of the order |
mutation( $discountAmount: Decimal!, $discountType: DiscountType!, $note: String, $orderId: ID!) { issueCreditDiscount( discountAmount: $discountAmount, discountType: $discountType, note: $note, orderId: $orderId ) { id # Add other fields you need }}{ "discountAmount": {}, "discountType": {}, "note": "example", "orderId": "1"}| Argument | Type | Description |
|---|---|---|
orderIdrequired | ID! | ID of the order |
mutation($orderId: ID!) { markOrderUncollectible(orderId: $orderId) { id # Add other fields you need }}{ "orderId": "1"}| Argument | Type | Description |
|---|---|---|
inputrequired | VendorInput! | Input |
mutation($input: VendorInput!) { newVendor(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
paymentIdrequired | ID! | ID of the payment |
mutation($paymentId: ID!) { paymentReceiptPdf(paymentId: $paymentId) { id # Add other fields you need }}{ "paymentId": "1"}mutation( $credit: Boolean, $id: ID!, $notRendered: Boolean, $returned: Boolean) { refundOrderItem( credit: $credit, id: $id, notRendered: $notRendered, returned: $returned ) { id # Add other fields you need }}{ "credit": true, "id": "1", "notRendered": true, "returned": true}mutation($id: ID!) { reopenOrder(id: $id) { id # Add other fields you need }}{ "id": "1"}mutation( $fromId: ID!, $toId: ID!) { reorderEstimateItems( fromId: $fromId, toId: $toId ) { id # Add other fields you need }}{ "fromId": "1", "toId": "1"}mutation( $fromId: ID!, $toId: ID!) { reorderOrderItems( fromId: $fromId, toId: $toId ) { id # Add other fields you need }}{ "fromId": "1", "toId": "1"}mutation( $creditReasonId: ID, $id: ID!, $quantity: Decimal, $returnedToStock: Boolean) { returnOrderItem( creditReasonId: $creditReasonId, id: $id, quantity: $quantity, returnedToStock: $returnedToStock ) { id # Add other fields you need }}{ "creditReasonId": "1", "id": "1", "quantity": {}, "returnedToStock": true}mutation($id: ID!) { saveEstimate(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
amount | Decimal | Monetary amount |
clientIdrequired | ID! | ID of the client (pet owner) |
donation | Decimal | Donation amount or flag |
locationId | ID | ID of the location |
medium | ConversationMedium | Medium |
method | PaymentMethod | Method |
orderId | ID | ID of the order |
orderType | String | Order type |
tip | Decimal | Tip |
mutation( $amount: Decimal, $clientId: ID!, $donation: Decimal, $locationId: ID, $medium: ConversationMedium, $method: PaymentMethod, $orderId: ID, $orderType: String, $tip: Decimal) { sendPaymentRequest( amount: $amount, clientId: $clientId, donation: $donation, locationId: $locationId, medium: $medium, method: $method, orderId: $orderId, orderType: $orderType, tip: $tip ) { id # Add other fields you need }}{ "amount": {}, "clientId": "1", "donation": {}, "locationId": "1", "medium": {}, "method": {}, "orderId": "1", "orderType": "example", "tip": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | BillingGroupInput! | Input |
mutation( $id: ID!, $input: BillingGroupInput!) { updateBillingGroup( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | CreditReasonInput! | Input |
mutation( $id: ID!, $input: CreditReasonInput!) { updateCreditReason( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | DiscountReasonInput! | Input |
mutation( $id: ID!, $input: DiscountReasonInput!) { updateDiscountReason( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | InvoiceLineItemReasonInput! | Input |
mutation( $id: ID!, $input: InvoiceLineItemReasonInput!) { updateInvoiceLineItemReason( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | OrderInput! | Input |
mutation( $id: ID!, $input: OrderInput!) { updateOrder( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | OrderItemInput! | Input |
mutation( $id: ID!, $input: OrderItemInput!) { updateOrderItem( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | PaymentReasonInput! | Input |
mutation( $id: ID!, $input: PaymentReasonInput!) { updatePaymentReason( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | ProductManufacturerInput! | Input |
mutation( $id: ID!, $input: ProductManufacturerInput!) { updateProductManufacturer( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}mutation( $productCategoryId: ID!, $productId: ID!) { updateProductProductCategory( productCategoryId: $productCategoryId, productId: $productId ) { id # Add other fields you need }}{ "productCategoryId": "1", "productId": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | PurchaseOrderInput! | Input |
mutation( $id: ID!, $input: PurchaseOrderInput!) { updatePurchaseOrder( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | PurchaseOrderItemInput! | Input |
mutation( $id: ID!, $input: PurchaseOrderItemInput!) { updatePurchaseOrderItem( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | VendorInput! | Input |
mutation( $id: ID!, $input: VendorInput!) { updateVendor( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}mutation($file: Upload!) { uploadMassProducts(file: $file) { id # Add other fields you need }}{ "file": {}}| Argument | Type | Description |
|---|---|---|
inputrequired | LowStockThresholdInput! | Input |
mutation($input: LowStockThresholdInput!) { upsertLowStockThreshold(input: $input) { id # Add other fields you need }}{ "input": {}}mutation( $locationId: ID, $locationTagId: ID, $markupPercent: Decimal, $packageId: ID!) { upsertPackageLocationMarkup( locationId: $locationId, locationTagId: $locationTagId, markupPercent: $markupPercent, packageId: $packageId ) { id # Add other fields you need }}{ "locationId": "1", "locationTagId": "1", "markupPercent": {}, "packageId": "1"}mutation( $locationId: ID, $locationTagId: ID, $markupPercent: Decimal, $productId: ID!) { upsertProductLocationMarkup( locationId: $locationId, locationTagId: $locationTagId, markupPercent: $markupPercent, productId: $productId ) { id # Add other fields you need }}{ "locationId": "1", "locationTagId": "1", "markupPercent": {}, "productId": "1"}mutation( $locationId: ID, $locationTagId: ID, $markupPercent: Decimal, $productTypeId: ID!) { upsertProductTypeLocationMarkup( locationId: $locationId, locationTagId: $locationTagId, markupPercent: $markupPercent, productTypeId: $productTypeId ) { id # Add other fields you need }}{ "locationId": "1", "locationTagId": "1", "markupPercent": {}, "productTypeId": "1"}