Attachment/Create stores a file on a CXTMS entity such as an Order, Contact, or Shipment. It requires the entity type, the entity ID, and the file content:
Attachment/Create