EDI (Electronic Data Interchange) in e-commerce refers to the electronic exchange of business documents in a standardized format between companies.