eCommerce tracking with the Image-Tracker?

How to do eCommerce tracking with the Image-Tracker API?

It is possible! we will document the ecommerce tracking api at: Tracking API reference missing parameters for Ecommerce analytics · Issue #4180 · matomo-org/matomo · GitHub

I read Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3 , but I still do not know what I have to write after ec_items/how to define my items. Do I have to put all ec_ … tags on my basket site? An example would be very helpful.