Refactored communication with partner app to use custom objects + error handling BOD-83 BOD-138 BOD-139
This commit is contained in:
@@ -135,3 +135,17 @@ export const UPDATE_INVOICE = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const UPDATE_INVOICES = gql`
|
||||
mutation UPDATE_INVOICES(
|
||||
$invoiceIdList: [uuid!]!
|
||||
$invoice: invoices_set_input!
|
||||
) {
|
||||
update_invoices(where: { id: { _in: $invoiceIdList } }, _set: $invoice) {
|
||||
returning {
|
||||
id
|
||||
exported
|
||||
exported_at
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user