updateEntity mutation for graphql


#1

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?

@VehbiEmiroglu


#2

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


#3

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.

Thanks.


#4

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


#5

Hi @VehbiEmiroglu

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

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?
Paul.


#6

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


#7

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.


#8

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.


#9

@emre may be you want to see