updateEntity mutation for graphql


I’m building an integration with SambaPOS where I am adding customer entities which is currently done using the addEntity mutation, however we also need to be able to edit existing customer entities (e.g. to change the address). I’ve just realised there is no updateEntity mutation - could this be added?



Yes it’s good idea, i noted that our Development Trello board


Can I also add to @markjw request mutations for Account Document creations?? If you like I can create a whole new Request :slight_smile:

At the moment we use FILEMON and it pretty ordinary due to network issues, which machine will have the Device, etc.



I dont understand what you want Paul. Please describe it to me :slight_smile:


Hi @VehbiEmiroglu

Can we have this action “Create Account Transaction Document” available as a mutation:

If I can access to ADD & UPDATE Entities, combined with able to modify Entity Accounts then we can build true integration with our systems.

Does this help?


Ok but why do you want? I mean how you use this. If we understand why we can give the priority.


We need to post value onto Entity Accounts from outside systems such as Membership or Banking Systems.

Once the value $$$ has been posted as a deposit using Create Account Transaction Document then the Customer (Entity) in POS can use “Account” payment type to purchase in POS.

At the moment receipts $$$ taken in our membership for a Customer Account in POS (prepayments for Credit) are compiled in text files (CSV) and sent to a Directory that SambaPOS using FILEMON watches. SambaPOS picks the file up using JavaScript, reads file line by line, and creates account documents for customers in SambaPOS.

FILEMON process is unreliable as there no guarantee the file will arrive. :pensive:
If I could use GraphQL then I could talk directly to the DB through QL and create documents and ensure receipts (or even invoices) are received.

Hope that makes sense.


I also might add this feature alone wold make learning GraphQL compelling as it opens up serious 3rd party integration other being able to modify a ticket…

Thanks Paul.


@emre may be you want to see