Please enable JavaScript.
Coggle requires JavaScript to display documents.
Sale, $SYS.POST, %rowId=null - Coggle Diagram
Sale
start
%%sale_barcode
%chek_id=%sys.timestamp
$SYS.POST
https://api.pipe.bot/docs/spreadsheets/delete
?result=1
%result=null
$SYS.POST
ANSWER
1 more item...
QUESTION
3 more items...
https://api.pipe.bot/docs/spreadsheets/insert
2 more items...
else
Can not delete row
QUESTION
rowId=2
doc=14G_MMkseKD9NCGwfVztiJeKGjCn9V0-jaUdMFVktYKM
listId=0
ANSWER
%result
Отсканируйте штрих-коды
$SYS.POST
QUESTION
range=Касса!P2
doc=1S8XKSt1cNn3xC9VY6UKv2FFMAsFUpv9yYb-WVc2Ti0E
value=On
https://api.pipe.bot/docs/spreadsheets/update
?result=1
Row successfuly updated
%result=null
$SYS.GET
https://api.pipe.bot/docs/spreadsheets/read
?rowId>0
%chek
Итого:
%total_pay тг
else
...We can not find any record
QUESTION
range=Чек!O:O
doc=1FoiY1J1fnE_qQxYWq1TCFA1FPMZK0wnJdMsMZo22Zeg
search=Чек
ANSWER
%total_pay=13
%rowId=rowId
%chek=15
else
Something went wrong
ANSWER
%result
%rowId=null
$SYS.POST
https://api.pipe.bot/docs/spreadsheets/insert
else
...Something went wrong and we can not create record
?rowId>0
%rowId=null
Ok
ANSWER
%rowId
QUESTION
value=Ok
doc=1S8XKSt1cNn3xC9VY6UKv2FFMAsFUpv9yYb-WVc2Ti0E
range=Касса!R1000