Repository navigation
Expand file tree
/
Copy pathendpoints.json
More file actions
996 lines (996 loc) · 42.1 KB
/
Copy pathendpoints.json
File metadata and controls
996 lines (996 loc) · 42.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
{
"base_url": "https://crigamo3srls.framework360.site",
"auth": {
"header": "X-Fw360-Key",
"env": "FRAMEWORK360_API_KEY"
},
"endpoints": [
{
"method": "GET",
"path": "/m/api/check",
"title": "Controllo connessione",
"description": "Verifica lo stato della connessione all'API e restituisce il nome del sito.",
"params": []
},
{
"method": "POST",
"path": "/m/api/webhooks/create",
"title": "Crea webhook",
"description": "Crea un webhook specificando il tipo di evento e l'endpoint a cui inviare le notifiche. Parametri: type (string, es. customers/new), endpoint (string, URL destinazione).",
"params": ["type", "endpoint"]
},
{
"method": "POST",
"path": "/m/api/webhooks/delete",
"title": "Elimina webhook",
"description": "Elimina un webhook esistente indicando il tipo di evento e l'URL endpoint associato. Parametri: type (string), endpoint (string).",
"params": ["type", "endpoint"]
},
{
"method": "GET",
"path": "/m/api/webhooks/test",
"title": "Test webhook",
"description": "Esegue un test inviando un esempio di webhook per la creazione di un cliente.",
"params": []
},
{
"method": "GET",
"path": "/m/api/site/data",
"title": "Dati sito",
"description": "Recupera i dati configurati del sito corrente.",
"params": []
},
{
"method": "GET",
"path": "/m/api/site/assets",
"title": "Risorse sito",
"description": "Ottiene i percorsi delle risorse statiche del sito (immagini, CSS, JS).",
"params": []
},
{
"method": "GET",
"path": "/m/api/site/settings",
"title": "Impostazioni sito",
"description": "Recupera le impostazioni generali del sito configurate nel CMS.",
"params": []
},
{
"method": "GET",
"path": "/m/api/site/plugins",
"title": "Plugin sito",
"description": "Ottiene informazioni sui plugin installati e attivi nel sito.",
"params": []
},
{
"method": "GET",
"path": "/m/api/site/theme",
"title": "Tema sito",
"description": "Recupera le informazioni sul tema grafico attivo del sito.",
"params": []
},
{
"method": "GET",
"path": "/m/api/datatables/get",
"title": "Dati datatables",
"description": "Ottiene dati tabellari da un modulo con filtri, ordinamento e paginazione. Parametri: module_id (string, es. marketing_campagne), filters (object), id, query (string), sort (array), page (int), limit (int), path (string), params (object).",
"params": ["module_id", "filters", "id", "query", "sort", "page", "limit"]
},
{
"method": "GET",
"path": "/m/api/dashboard/get",
"title": "Dati cruscotto",
"description": "Recupera i dati e i widget della dashboard con eventuali filtri. Parametri: filters (object, es. {date: '2024-06'}), widgets (array di ID widget).",
"params": ["filters", "widgets"]
},
{
"method": "GET",
"path": "/m/api/users/get",
"title": "Recupera utente",
"description": "Recupera i dettagli di un utente tramite ID o email. Parametri: id (int|string, opzionale), email (string, opzionale).",
"params": ["id", "email"]
},
{
"method": "POST",
"path": "/m/api/users/update",
"title": "Aggiorna utente",
"description": "Aggiorna i dati di un utente esistente. Parametri: id (int), email (string), nome (string), cognome (string), password (string), telefono (string), indirizzo (string), stato (string), citta (string), marketing_list (int).",
"params": ["id", "email", "nome", "cognome", "password", "telefono", "indirizzo", "stato", "citta", "marketing_list"]
},
{
"method": "GET",
"path": "/m/api/users/profile",
"title": "Profilo utente",
"description": "Recupera i dettagli del profilo dell'utente autenticato.",
"params": []
},
{
"method": "GET",
"path": "/m/api/users/list",
"title": "Lista utenti",
"description": "Ottiene una lista di utenti con filtri e paginazione. Parametri: role (string), page (int), limit (int), query (string), ids (array), sort (string).",
"params": ["role", "page", "limit", "query", "ids", "sort"]
},
{
"method": "POST",
"path": "/m/api/users/delete",
"title": "Elimina utente",
"description": "Elimina l'utente attualmente autenticato.",
"params": []
},
{
"method": "POST",
"path": "/m/api/users/login",
"title": "Login utente",
"description": "Effettua il login di un utente tramite ID o email e password, restituendo token di accesso. Parametri: id (int|string, opzionale), email (string, opzionale), password (string).",
"params": ["id", "email", "password"]
},
{
"method": "POST",
"path": "/m/api/users/reset",
"title": "Reset password",
"description": "Resetta la password di un utente dato l'indirizzo email. Parametri: email (string), password (string nuova o master password).",
"params": ["email", "password"]
},
{
"method": "POST",
"path": "/m/api/users/registration",
"title": "Registrazione utente",
"description": "Registra un nuovo utente. Parametri: nome (string), cognome (string), email (string), password (string).",
"params": ["nome", "cognome", "email", "password"]
},
{
"method": "POST",
"path": "/m/api/users/notifications/register",
"title": "Registra notifica utente",
"description": "Registra un dispositivo per notifiche push. Parametri: token (string), silently (bool, opzionale), provider (string, opzionale).",
"params": ["token", "silently", "provider"]
},
{
"method": "POST",
"path": "/m/api/users/notifications/unregister",
"title": "Annulla registrazione notifica utente",
"description": "Rimuove la registrazione di un dispositivo per notifiche push. Parametri: token (string).",
"params": ["token"]
},
{
"method": "GET",
"path": "/m/api/report/lists",
"title": "Liste report",
"description": "Recupera le liste disponibili per i report nel sistema.",
"params": []
},
{
"method": "GET",
"path": "/m/api/report/data",
"title": "Dati report",
"description": "Recupera i dati specifici per un report. Parametri: start_date (YYYY-MM-DD), end_date (YYYY-MM-DD), list_id (int), customer_id (int, opzionale), group_by (string, es. month|customer).",
"params": ["start_date", "end_date", "list_id", "customer_id", "group_by"]
},
{
"method": "GET",
"path": "/m/api/report/dashboard",
"title": "Dashboard report",
"description": "Ottiene i dati riepilogativi per la dashboard di reportistica. Parametri: period (string, es. monthly|quarterly), list_id (int, opzionale).",
"params": ["period", "list_id"]
},
{
"method": "POST",
"path": "/m/api/report/export",
"title": "Esporta report",
"description": "Esporta un report in vari formati. Parametri: reportName (string), format (string, es. csv), dateFrom (string), dateTo (string), additionalFilters (object).",
"params": ["reportName", "format", "dateFrom", "dateTo", "additionalFilters"]
},
{
"method": "GET",
"path": "/m/api/search/list",
"title": "Ricerca dati",
"description": "Esegue una ricerca su tipi specifici di dati. Parametri: type (string|array, es. product), query (string), id (string, opzionale), limit (int).",
"params": ["type", "query", "id", "limit"]
},
{
"method": "GET",
"path": "/m/api/content/sliders/get",
"title": "Dettagli slider",
"description": "Recupera i dettagli e i contenuti di uno slider specifico. Parametri: id (string, ID dello slider).",
"params": ["id"]
},
{
"method": "GET",
"path": "/m/api/customers/profile",
"title": "Profilo cliente",
"description": "Recupera i dati del profilo dell'utente cliente autenticato.",
"params": []
},
{
"method": "GET",
"path": "/m/api/customers/get",
"title": "Recupera cliente",
"description": "Recupera i dati di un cliente tramite ID o email. Parametri: id (int, opzionale), email (string, opzionale).",
"params": ["id", "email"]
},
{
"method": "GET",
"path": "/m/api/customers/list",
"title": "Lista clienti",
"description": "Recupera una lista di clienti con paginazione e ricerca. Parametri: query (string), limit (int), page (int).",
"params": ["query", "limit", "page"]
},
{
"method": "GET",
"path": "/m/api/customers/search",
"title": "Ricerca cliente",
"description": "Ricerca un cliente tramite query testuale obbligatoria (nome, cognome, email, ecc.). Parametri: query (string, obbligatorio).",
"params": ["query"]
},
{
"method": "POST",
"path": "/m/api/customers/delete",
"title": "Elimina cliente",
"description": "Elimina un cliente tramite ID o email. Parametri: id (int, opzionale), email (string, opzionale).",
"params": ["id", "email"]
},
{
"method": "POST",
"path": "/m/api/customers/login",
"title": "Accesso cliente",
"description": "Effettua il login di un cliente. Parametri: id (int, opzionale), email (string, opzionale), password (string).",
"params": ["id", "email", "password"]
},
{
"method": "POST",
"path": "/m/api/customers/registration",
"title": "Registrazione cliente",
"description": "Registra un nuovo cliente. Parametri: nome, cognome, email, password, telefono (opzionale), provenienza (int, default 6), dati_fatturazione (object), marketing_list (array), marketing_active (bool), tags (array), extraFields (array), cart (array).",
"params": ["nome", "cognome", "email", "password", "telefono", "provenienza", "dati_fatturazione", "marketing_list", "marketing_active", "tags", "extraFields", "cart"]
},
{
"method": "POST",
"path": "/m/api/customers/update",
"title": "Aggiorna cliente",
"description": "Aggiorna i dati di un cliente esistente. Parametri: id (int, obbligatorio), nome, cognome, telefono, email, password, ragione_sociale, piva, cf, pec, sdi, indirizzo, stato, citta, comune, cap.",
"params": ["id", "nome", "cognome", "telefono", "email", "password", "ragione_sociale", "piva", "cf", "pec", "sdi", "indirizzo", "stato", "citta", "comune", "cap"]
},
{
"method": "GET",
"path": "/m/api/customers/sources",
"title": "Fonti clienti",
"description": "Recupera la lista delle fonti di acquisizione clienti disponibili nel sistema.",
"params": []
},
{
"method": "GET",
"path": "/m/api/customers/labels/list",
"title": "Lista etichette clienti",
"description": "Recupera la lista delle etichette (labels) associate ai clienti. Parametri: active_only (bool, opzionale).",
"params": ["active_only"]
},
{
"method": "POST",
"path": "/m/api/customers/labels/assign",
"title": "Assegna etichette cliente",
"description": "Assegna una o più etichette a uno o più clienti. Parametri: customer_ids (array di int), label_ids (array di int).",
"params": ["customer_ids", "label_ids"]
},
{
"method": "POST",
"path": "/m/api/customers/labels/remove",
"title": "Rimuovi etichette cliente",
"description": "Rimuove etichette da uno o più clienti. Parametri: customer_ids (array di int), label_ids (array di int).",
"params": ["customer_ids", "label_ids"]
},
{
"method": "GET",
"path": "/m/api/customers/history/list",
"title": "Lista storici cliente",
"description": "Recupera la lista degli eventi storici di un cliente. Parametri: limit (int), page (int), filters (object), customer (int|'*'), module_id (int, opzionale), query (string).",
"params": ["limit", "page", "filters", "customer", "module_id", "query"]
},
{
"method": "POST",
"path": "/m/api/customers/history/create",
"title": "Crea storico cliente",
"description": "Crea una nuova voce nella cronologia di un cliente. Parametri: customer_id (int), title (string), content (string), date (string, opzionale), attachments (array, opzionale).",
"params": ["customer_id", "title", "content", "date", "attachments"]
},
{
"method": "POST",
"path": "/m/api/customers/history/update",
"title": "Aggiorna storico cliente",
"description": "Aggiorna una voce dello storico di un cliente. Parametri: id (int), customer_id (int), title (string), content (string), attachments (array), date (string, opzionale).",
"params": ["id", "customer_id", "title", "content", "attachments", "date"]
},
{
"method": "GET",
"path": "/m/api/customers/notifications/status",
"title": "Stato notifiche cliente",
"description": "Recupera lo stato delle notifiche di un cliente, inclusi dispositivi registrati e notifiche non lette.",
"params": []
},
{
"method": "GET",
"path": "/m/api/customers/notifications/list",
"title": "Lista notifiche cliente",
"description": "Ottiene la lista delle notifiche di un cliente. Parametri: customer (int, opzionale), page (int), limit (int), query (string).",
"params": ["customer", "page", "limit", "query"]
},
{
"method": "POST",
"path": "/m/api/customers/notifications/mark",
"title": "Segna notifica come letta",
"description": "Segna una notifica specifica come letta. Parametri: id (int, ID della notifica).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/customers/notifications/register",
"title": "Registra dispositivo notifiche cliente",
"description": "Registra un dispositivo per notifiche push. Parametri: provider (string, es. firebase), token (string).",
"params": ["provider", "token"]
},
{
"method": "POST",
"path": "/m/api/customers/notifications/unregister",
"title": "Rimuovi dispositivo notifiche cliente",
"description": "Rimuove la registrazione di un dispositivo per notifiche push. Parametri: token (string).",
"params": ["token"]
},
{
"method": "GET",
"path": "/m/api/slug/check",
"title": "Controlla slug",
"description": "Verifica la validità e l'unicità di uno slug. Parametri: slug (string), entity (string, es. product|page), excludeId (int, opzionale).",
"params": ["slug", "entity", "excludeId"]
},
{
"method": "GET",
"path": "/m/api/leadflow/settings",
"title": "Configura Leadflow",
"description": "Recupera o aggiorna le impostazioni di configurazione del sistema Leadflow. Parametri opzionali: auto_assign (bool), assignment_rules (array), notification_emails (array).",
"params": ["auto_assign", "assignment_rules", "notification_emails"]
},
{
"method": "GET",
"path": "/m/api/leadflow/history",
"title": "Storico Leadflow",
"description": "Recupera la cronologia delle azioni del modulo Leadflow. Parametri: from_date (ISO 8601), to_date (ISO 8601), user_id (int), limit (int).",
"params": ["from_date", "to_date", "user_id", "limit"]
},
{
"method": "GET",
"path": "/m/api/leadflow/schedule/list",
"title": "Lista schedulazioni leadflow",
"description": "Recupera la lista delle schedulazioni configurate per leadflow. Parametri: status (string, opzionale), limit (int), offset (int).",
"params": ["status", "limit", "offset"]
},
{
"method": "POST",
"path": "/m/api/leadflow/schedule/save",
"title": "Salva schedulazione leadflow",
"description": "Crea o aggiorna una schedulazione per leadflow. Parametri: id (int, opzionale), name (string), cronExpression (string), isActive (bool), actions (array).",
"params": ["id", "name", "cronExpression", "isActive", "actions"]
},
{
"method": "GET",
"path": "/m/api/leadflow/flow/get_contact",
"title": "Recupera contatto leadflow",
"description": "Recupera i dati di un contatto nel flusso leadflow. Parametri: id (int).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/leadflow/flow/save",
"title": "Salva contatto leadflow",
"description": "Salva o aggiorna un contatto nel flusso leadflow. Parametri: id (int, opzionale), name (string), email (string), phone (string), company (string), tags (array|string), note (string).",
"params": ["id", "name", "email", "phone", "company", "tags", "note"]
},
{
"method": "POST",
"path": "/m/api/leadflow/flow/owner",
"title": "Assegna proprietario lead",
"description": "Imposta il proprietario assegnato a un lead. Parametri: lead_id (int), owner_id (int|null).",
"params": ["lead_id", "owner_id"]
},
{
"method": "POST",
"path": "/m/api/orders/create",
"title": "Crea ordine",
"description": "Crea un nuovo ordine. Parametri: user_email (string), cart (array di {id, type, quantity}), billing_data (object), shipping_data (object), shipping_id (int), order_status (int), payment_id (string), labels (array), note (string).",
"params": ["user_email", "cart", "billing_data", "shipping_data", "shipping_id", "order_status", "payment_id", "labels", "note"]
},
{
"method": "POST",
"path": "/m/api/orders/import",
"title": "Importa ordini",
"description": "Importa massivamente ordini tramite file CSV/JSON/XML. Parametri: format (string), chunkSize (int), updateExisting (bool), customerData (object), orderStatusMapping (object).",
"params": ["format", "chunkSize", "updateExisting", "customerData", "orderStatusMapping"]
},
{
"method": "GET",
"path": "/m/api/orders/list",
"title": "Lista ordini",
"description": "Recupera la lista degli ordini. Parametri: seller (int|string), id (int), customer (int), page (int), daterange (string, es. '2023-01-01 to 2023-01-31'), order (string, asc|desc), limit (int), amount (numeric), query (string), statuses (array).",
"params": ["seller", "id", "customer", "page", "daterange", "order", "limit", "amount", "query", "statuses"]
},
{
"method": "GET",
"path": "/m/api/orders/get",
"title": "Dettagli ordine",
"description": "Recupera i dettagli completi di un ordine tramite il suo ID. Parametri: id (string).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/orders/updateStatus",
"title": "Aggiorna stato ordine",
"description": "Aggiorna lo stato di un ordine e opzionalmente il tracciamento corriere. Parametri: id (string), status (string), courier (string, opzionale), tracking (string, opzionale).",
"params": ["id", "status", "courier", "tracking"]
},
{
"method": "POST",
"path": "/m/api/orders/resendNotifications",
"title": "Reinvia notifiche ordine",
"description": "Reinvia le email di notifica su un ordine. Parametri: id (string), to (array|string, es. ['admin','customer']).",
"params": ["id", "to"]
},
{
"method": "POST",
"path": "/m/api/orders/cancel",
"title": "Annulla ordine",
"description": "Annulla un ordine in stato iniziale. Parametri: id (string).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/orders/delete",
"title": "Elimina ordine",
"description": "Elimina un ordine esistente. Parametri: id (string).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/orders/repeat",
"title": "Ripeti ordine",
"description": "Crea un nuovo ordine ripetendo i dettagli di un ordine precedente. Parametri: id (string), user_email (string), cart (array), billing_data (object), shipping_data (object), shipping_id (int), order_status (int), payment_id (string), note (string), labels (array).",
"params": ["id", "user_email", "cart", "billing_data", "shipping_data", "shipping_id", "order_status", "payment_id", "note", "labels"]
},
{
"method": "POST",
"path": "/m/api/orders/prepareCart",
"title": "Prepara carrello",
"description": "Prepara il carrello di acquisto. Parametri: cart (array di {product_id, quantity}), customer_id (int|null), shipping_id (int|null), payment_id (int|null).",
"params": ["cart", "customer_id", "shipping_id", "payment_id"]
},
{
"method": "POST",
"path": "/m/api/orders/shippings",
"title": "Metodi di spedizione disponibili",
"description": "Ottiene i metodi di spedizione disponibili per un carrello. Parametri: cart (array), shipping_data (object con indirizzo).",
"params": ["cart", "shipping_data"]
},
{
"method": "POST",
"path": "/m/api/orders/applyCoupon",
"title": "Applica coupon",
"description": "Applica un coupon al carrello. Parametri: cart (array), coupon (string, codice coupon).",
"params": ["cart", "coupon"]
},
{
"method": "GET",
"path": "/m/api/orders/statuses",
"title": "Lista stati ordine",
"description": "Recupera la lista degli stati disponibili per gli ordini.",
"params": []
},
{
"method": "GET",
"path": "/m/api/orders/coupons",
"title": "Lista coupon",
"description": "Ottiene la lista di tutti i coupon disponibili nel sistema.",
"params": []
},
{
"method": "GET",
"path": "/m/api/orders/labels",
"title": "Dettagli etichette ordini",
"description": "Recupera i dettagli delle etichette associate agli ordini.",
"params": []
},
{
"method": "GET",
"path": "/m/api/chat/list",
"title": "Lista chat",
"description": "Ottiene la lista delle conversazioni di chat. Parametri: status (bool), page (int), limit (int), query (string), type (string).",
"params": ["status", "page", "limit", "query", "type"]
},
{
"method": "GET",
"path": "/m/api/chat/messages",
"title": "Messaggi chat",
"description": "Recupera i messaggi di una conversazione. Parametri: conversation (int, ID conversazione), page (int), limit (int), query (string).",
"params": ["conversation", "page", "limit", "query"]
},
{
"method": "GET",
"path": "/m/api/chat/get",
"title": "Recupera chat",
"description": "Recupera i dettagli completi di una conversazione chat. Parametri: id (int).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/chat/reply",
"title": "Rispondi chat",
"description": "Invia una risposta a una conversazione esistente. Parametri: conversation (int, ID), message (string), attachments (array, opzionale).",
"params": ["conversation", "message", "attachments"]
},
{
"method": "POST",
"path": "/m/api/chat/deleteMessage",
"title": "Elimina messaggio chat",
"description": "Elimina un messaggio specifico dalla chat. Parametri: message_id (int).",
"params": ["message_id"]
},
{
"method": "GET",
"path": "/m/api/chat/types",
"title": "Tipi messaggi chat",
"description": "Ottiene la lista dei tipi di messaggi supportati dal sistema di chat.",
"params": []
},
{
"method": "GET",
"path": "/m/api/chat/templates",
"title": "Lista template chat",
"description": "Recupera la lista dei template messaggi disponibili per la chat.",
"params": []
},
{
"method": "POST",
"path": "/m/api/chat/create",
"title": "Crea conversazione",
"description": "Crea una nuova conversazione di chat. Parametri: customer_id (int), message (string), attachments (array, opzionale), type (string), subject (string).",
"params": ["customer_id", "message", "attachments", "type", "subject"]
},
{
"method": "POST",
"path": "/m/api/chat/updateStatus",
"title": "Aggiorna stato chat",
"description": "Aggiorna lo stato di una o più conversazioni. Parametri: conversation (int|array), status (int|string).",
"params": ["conversation", "status"]
},
{
"method": "POST",
"path": "/m/api/chat/markAs",
"title": "Segna chat",
"description": "Segna come letto o non letto una o più conversazioni. Parametri: conversation (int|array), status (bool, true=letto, false=non letto).",
"params": ["conversation", "status"]
},
{
"method": "POST",
"path": "/m/api/chat/assign",
"title": "Assegna chat",
"description": "Assegna una chat a un operatore specifico. Parametri: chat_id (int), operator_id (int), note (string, opzionale).",
"params": ["chat_id", "operator_id", "note"]
},
{
"method": "POST",
"path": "/m/api/forms/submit",
"title": "Invia modulo",
"description": "Invia i dati di un modulo per l'elaborazione. Parametri: id (int|string, ID modulo), fields_data (object, dati dei campi chiave/valore).",
"params": ["id", "fields_data"]
},
{
"method": "GET",
"path": "/m/api/checkouts/get",
"title": "Dettaglio checkout",
"description": "Recupera i dettagli di un checkout. Parametri: id (int|string).",
"params": ["id"]
},
{
"method": "GET",
"path": "/m/api/media/list",
"title": "Lista media",
"description": "Ottiene la lista dei file media filtrati e paginati. Parametri: directory (string), page (int), limit (int), query (string), global (bool).",
"params": ["directory", "page", "limit", "query", "global"]
},
{
"method": "GET",
"path": "/m/api/media/directories",
"title": "Elenco directory media",
"description": "Ottiene la lista delle directory media disponibili. Parametri: global (bool).",
"params": ["global"]
},
{
"method": "POST",
"path": "/m/api/media/delete",
"title": "Elimina media",
"description": "Elimina uno o più file media. Parametri: id (array|int), global (bool).",
"params": ["id", "global"]
},
{
"method": "POST",
"path": "/m/api/media/add",
"title": "Aggiungi media",
"description": "Carica nuovi file multimediali nel sistema. Parametri: filedata (file/array), directory (string), name (string), description (string), link (string), global (bool).",
"params": ["filedata", "directory", "name", "description", "link", "global"]
},
{
"method": "POST",
"path": "/m/api/media/update",
"title": "Aggiorna media",
"description": "Aggiorna i dettagli di un file multimediale esistente. Parametri: id (int, obbligatorio), name (string), description (string), link (string), global (bool).",
"params": ["id", "name", "description", "link", "global"]
},
{
"method": "POST",
"path": "/m/api/media/format",
"title": "Formatta media",
"description": "Restituisce un array formattato dei media per la visualizzazione. Parametri: files (array|json di [directory, filename]), global (bool).",
"params": ["files", "global"]
},
{
"method": "POST",
"path": "/m/api/reports/get",
"title": "Recupera report",
"description": "Genera e restituisce un report in formato PDF, XLS o HTML. Parametri: category (string, obbligatorio), item (string, obbligatorio), filters (object), sort (array), type (string, pdf|xls|html, obbligatorio).",
"params": ["category", "item", "filters", "sort", "type"]
},
{
"method": "GET",
"path": "/m/api/reports/categories",
"title": "Categorie report",
"description": "Recupera la lista delle categorie disponibili per i report. Parametri: test (string, opzionale).",
"params": ["test"]
},
{
"method": "GET",
"path": "/m/api/marketing/tags",
"title": "Lista tag marketing",
"description": "Ottiene la lista dei tag utilizzati per le campagne di marketing.",
"params": []
},
{
"method": "GET",
"path": "/m/api/marketing/campaigns/flow",
"title": "Flusso campagna",
"description": "Recupera il flusso statistico di una campagna marketing. Parametri: campaign_id (int), minutes (int, opzionale, default 15).",
"params": ["campaign_id", "minutes"]
},
{
"method": "GET",
"path": "/m/api/marketing/campaigns/contacts",
"title": "Contatti campagna",
"description": "Recupera la lista dei contatti di una campagna marketing. Parametri: campaign_id (int), page (int), limit (int), query (string, opzionale).",
"params": ["campaign_id", "page", "limit", "query"]
},
{
"method": "POST",
"path": "/m/api/marketing/campaigns/updateStatus",
"title": "Aggiorna stato campagna",
"description": "Aggiorna lo stato di una campagna marketing. Parametri: campaign_id (string), status (string, es. active).",
"params": ["campaign_id", "status"]
},
{
"method": "GET",
"path": "/m/api/marketing/campaigns/action/summary",
"title": "Riepilogo azione campagna",
"description": "Recupera un riepilogo delle azioni di una campagna (SMS, push, email). Parametri: campaign_id (string), test (bool, opzionale).",
"params": ["campaign_id", "test"]
},
{
"method": "GET",
"path": "/m/api/marketing/campaigns/action/stats",
"title": "Statistiche azione campagna",
"description": "Ottiene statistiche di azioni specifiche di una campagna. Parametri: campaign_id (string), type (string, sms|push|emails), id (string, ID azione), page (int), limit (int).",
"params": ["campaign_id", "type", "id", "page", "limit"]
},
{
"method": "GET",
"path": "/m/api/marketing/campaigns/statuses",
"title": "Stati campagne",
"description": "Recupera la lista degli stati disponibili per le campagne marketing.",
"params": []
},
{
"method": "GET",
"path": "/m/api/marketing/campaigns/types",
"title": "Tipi campagne",
"description": "Recupera la lista dei tipi di campagne marketing disponibili.",
"params": []
},
{
"method": "POST",
"path": "/m/api/plugins/install",
"title": "Installa plugin",
"description": "Installa un plugin specificato. Parametri: plugin_id (string, ID univoco del plugin), settings (object, opzionale).",
"params": ["plugin_id", "settings"]
},
{
"method": "GET",
"path": "/m/api/plugins/settings",
"title": "Impostazioni plugin",
"description": "Recupera le impostazioni di un plugin specifico. Parametri: plugin_id (string).",
"params": ["plugin_id"]
},
{
"method": "GET",
"path": "/m/api/plugins/calendar/forms/list",
"title": "Lista moduli calendario",
"description": "Ottiene la lista di tutti i moduli di prenotazione del calendario.",
"params": []
},
{
"method": "GET",
"path": "/m/api/plugins/calendar/forms/select",
"title": "Dettagli modulo calendario",
"description": "Recupera i dettagli di un modulo calendario. Parametri: event (string, ID evento/modulo).",
"params": ["event"]
},
{
"method": "GET",
"path": "/m/api/plugins/calendar/forms/getAvailability",
"title": "Disponibilità orari",
"description": "Ottiene gli slot disponibili per un evento calendario. Parametri: event (string), date (YYYY-MM-DD), operator (string).",
"params": ["event", "date", "operator"]
},
{
"method": "GET",
"path": "/m/api/plugins/calendar/forms/getLockedDays",
"title": "Giorni bloccati",
"description": "Recupera i giorni senza disponibilità di prenotazione (finestra 35 gg). Parametri: event (string), date (string|int, YYYY-MM-DD o timestamp ms), operator (string).",
"params": ["event", "date", "operator"]
},
{
"method": "POST",
"path": "/m/api/plugins/calendar/create",
"title": "Crea appuntamento",
"description": "Crea un appuntamento nel calendario. Parametri: event_id (string), datetime (string, 'YYYY-MM-DD HH:mm:ss'), operator (string, opzionale), customer_id (string, opzionale), note (string, opzionale).",
"params": ["event_id", "datetime", "operator", "customer_id", "note"]
},
{
"method": "POST",
"path": "/m/api/plugins/calendar/cancel",
"title": "Annulla appuntamento",
"description": "Annulla un appuntamento esistente. Parametri: id (int), reason (string, opzionale).",
"params": ["id", "reason"]
},
{
"method": "POST",
"path": "/m/api/plugins/calendar/update",
"title": "Aggiorna appuntamento",
"description": "Aggiorna i dettagli di un appuntamento. Parametri: id (int), title (string), description (string), start (ISO 8601), end (datetime, opzionale), location (string, opzionale), participants (array di email, opzionale).",
"params": ["id", "title", "description", "start", "end", "location", "participants"]
},
{
"method": "GET",
"path": "/m/api/plugins/pipeline/pipelines/list",
"title": "Lista pipeline",
"description": "Restituisce la lista completa delle pipeline configurate per la gestione dei flussi di vendita.",
"params": []
},
{
"method": "GET",
"path": "/m/api/plugins/pipeline/pipelines/get",
"title": "Dettaglio pipeline",
"description": "Recupera i dettagli di una pipeline specifica. Parametri: id (int).",
"params": ["id"]
},
{
"method": "GET",
"path": "/m/api/plugins/pipeline/items/list",
"title": "Lista elementi pipeline",
"description": "Recupera la lista degli elementi di una pipeline. Parametri: pipeline_id (int), limit (int), offset (int), order (string, asc|desc).",
"params": ["pipeline_id", "limit", "offset", "order"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/items/add",
"title": "Aggiungi elemento pipeline",
"description": "Aggiunge un nuovo elemento alla pipeline. Parametri: pipeline_id (int), name (string), description (string), position (int), status (string).",
"params": ["pipeline_id", "name", "description", "position", "status"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/items/move",
"title": "Sposta elemento pipeline",
"description": "Sposta un elemento in una nuova posizione nella pipeline. Parametri: item_id (int), new_position (int), pipeline_id (int).",
"params": ["item_id", "new_position", "pipeline_id"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/items/delete",
"title": "Elimina elemento pipeline",
"description": "Rimuove un elemento specifico dalla pipeline. Parametri: item_id (int), pipeline_id (int).",
"params": ["item_id", "pipeline_id"]
},
{
"method": "GET",
"path": "/m/api/plugins/pipeline/groups/list",
"title": "Lista gruppi pipeline",
"description": "Recupera la lista dei gruppi nella pipeline di vendita.",
"params": []
},
{
"method": "GET",
"path": "/m/api/plugins/pipeline/groups/get",
"title": "Dettaglio gruppo pipeline",
"description": "Recupera i dettagli di un gruppo specifico della pipeline. Parametri: id (int).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/groups/create",
"title": "Crea gruppo pipeline",
"description": "Crea un nuovo gruppo nella pipeline di vendita. Parametri: name (string), description (string), enabled (bool).",
"params": ["name", "description", "enabled"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/groups/update",
"title": "Aggiorna gruppo pipeline",
"description": "Aggiorna i dati di un gruppo esistente nella pipeline. Parametri: id (int), name (string), description (string), enabled (bool).",
"params": ["id", "name", "description", "enabled"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/groups/delete",
"title": "Elimina gruppo pipeline",
"description": "Elimina un gruppo dalla pipeline di vendita. Parametri: id (int).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/groups/sort",
"title": "Ordina gruppi pipeline",
"description": "Aggiorna l'ordine di visualizzazione dei gruppi nella pipeline. Parametri: ids (array di int, nuovo ordine).",
"params": ["ids"]
},
{
"method": "POST",
"path": "/m/api/plugins/pipeline/groups/truncate",
"title": "Svuota gruppo pipeline",
"description": "Rimuove tutti gli elementi da un gruppo specifico della pipeline. Parametri: group_id (int).",
"params": ["group_id"]
},
{
"method": "GET",
"path": "/m/api/plugins/tickets/list",
"title": "Lista ticket",
"description": "Recupera la lista dei ticket di supporto con filtro e paginazione. Parametri: page (int), limit (int).",
"params": ["page", "limit"]
},
{
"method": "GET",
"path": "/m/api/plugins/tickets/departments",
"title": "Reparti ticket",
"description": "Recupera la lista dei reparti a cui possono essere assegnati i ticket.",
"params": []
},
{
"method": "POST",
"path": "/m/api/plugins/tickets/create",
"title": "Crea ticket",
"description": "Crea un nuovo ticket di supporto. Parametri: department_id (int), title (string), description (string), priority (int, 1=bassa, 3=alta).",
"params": ["department_id", "title", "description", "priority"]
},
{
"method": "GET",
"path": "/m/api/plugins/tickets/detail",
"title": "Dettaglio ticket",
"description": "Recupera i dettagli completi di un singolo ticket. Parametri: ticket_id (int).",
"params": ["ticket_id"]
},
{
"method": "POST",
"path": "/m/api/plugins/tickets/reply",
"title": "Rispondi ticket",
"description": "Invia una risposta a un ticket esistente. Parametri: ticket_id (int), message (string), attachments (array, opzionale), internal_note (bool, opzionale).",
"params": ["ticket_id", "message", "attachments", "internal_note"]
},
{
"method": "POST",
"path": "/m/api/plugins/tickets/close",
"title": "Chiudi ticket",
"description": "Chiude un ticket segnalandolo come risolto. Parametri: ticket_id (int), note (string, opzionale).",
"params": ["ticket_id", "note"]
},
{
"method": "GET",
"path": "/m/api/plugins/membership/getPlans",
"title": "Lista piani membership",
"description": "Recupera la lista dei piani di membership. Parametri: category (string), page (int), query (string), limit (int).",
"params": ["category", "page", "query", "limit"]
},
{
"method": "GET",
"path": "/m/api/plugins/membership/getSubscriptionStatus",
"title": "Stato sottoscrizione membership",
"description": "Recupera lo stato di sottoscrizione di un utente. Parametri: id (string, opzionale).",
"params": ["id"]
},
{
"method": "GET",
"path": "/m/api/plugins/protectedContent/list",
"title": "Lista contenuti protetti",
"description": "Recupera la lista di contenuti protetti. Parametri: id (string, opzionale), page (int), limit (int), query (string).",
"params": ["id", "page", "limit", "query"]
},
{
"method": "GET",
"path": "/m/api/plugins/blog/posts/list",
"title": "Lista post blog",
"description": "Ottiene una lista paginata di post del blog. Parametri: category (string), page (int), query (string), tag (string), order (string), limit (int).",
"params": ["category", "page", "query", "tag", "order", "limit"]
},
{
"method": "GET",
"path": "/m/api/plugins/blog/posts/get",
"title": "Dettagli post blog",
"description": "Recupera i dettagli di un singolo post del blog. Parametri: id (int|string).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/plugins/blog/posts/trackView",
"title": "Traccia visualizzazione post",
"description": "Registra una visualizzazione di un post del blog. Parametri: id (int|string).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/plugins/blog/posts/add",
"title": "Aggiungi post blog",
"description": "Crea un nuovo articolo nel blog. Parametri: title (string), content (string), author_id (int), category_id (int), tags (array), status (string, published|draft), publish_date (datetime).",
"params": ["title", "content", "author_id", "category_id", "tags", "status", "publish_date"]
},
{
"method": "POST",
"path": "/m/api/plugins/blog/posts/delete",
"title": "Elimina post blog",
"description": "Rimuove un post dal blog. Parametri: id (int, obbligatorio).",
"params": ["id"]
},
{
"method": "GET",
"path": "/m/api/plugins/blog/categories/list",
"title": "Lista categorie blog",
"description": "Ottiene la lista delle categorie blog. Parametri: hide-empty (bool), parent (int|string, ID categoria genitore).",
"params": ["hide-empty", "parent"]
},
{
"method": "GET",
"path": "/m/api/plugins/blog/categories/get",
"title": "Dettagli categoria blog",
"description": "Recupera le informazioni dettagliate di una categoria del blog. Parametri: id (int|string).",
"params": ["id"]
},
{
"method": "GET",
"path": "/m/api/payments/list",
"title": "Lista metodi di pagamento",
"description": "Restituisce l'elenco dei metodi di pagamento configurati nel sistema.",
"params": []
},
{
"method": "GET",
"path": "/m/api/payments/taxes",
"title": "Elenco imposte",
"description": "Ottiene l'elenco delle imposte configurate nel sistema di fatturazione.",
"params": []
},
{
"method": "GET",
"path": "/m/api/subscriptions/getSubscriptionStatus",
"title": "Stato abbonamento",
"description": "Recupera lo stato di un abbonamento dato l'ID cliente o abbonamento. Parametri: id (string, opzionale).",
"params": ["id"]
},
{
"method": "POST",
"path": "/m/api/subscriptions/addSubscription",
"title": "Aggiungi abbonamento",
"description": "Crea un nuovo abbonamento associato a un cliente. Parametri: customer_id (int), plan_id (int), end_date (string YYYY-MM-DD, opzionale).",
"params": ["customer_id", "plan_id", "end_date"]
}
]
}