How to add additional data to pivot table

Lets say I have an enquiries store and a people store and I have multiple m2m relationships between these two tables. These are via pivot tables. E.g. one such pivot table might be EnquiriesClients. I can currently alter related data for these via the relationships URLs using PATCH or POST or DELETE. However these only stipulate the id. What if I wanted to also write some additional data to the pivot table? E.g. there might be a capacity column on the EnquirysClients pivot table to indicate the capacity of that client for this enquiry.

How could I achieve this?