How to insert order via SQL?


I am trying to connect my SambaPOS 4 with my website.
But i have some trouble with inserting an order with SQL commands.

I’ve tried inserting into the table “Orders” but i can’t seem to figure it out.

Can somebody help me?

Thanks in advance,

It’s more than just that. You should upgrade to v5 it has GraphQL for doing this exact thing.


You will probably break it trying to do it that way. There are multiple tables that are used to build 1 ticket and if you get 1 small thing wrong you will render entire pos unusable.