Send nested JSON with server-side API

How are the fields for id and replenishment named?

Try naming them like purchase_order[items][][id] or purchase_order[items][0][id].