It's currently not possible to allocate purchase ledger transactions against each other through the Sage 200 API. It's possible to do this in the software, and it's possible to do this on the Sales Ledger via the API (with the /v1/sales_allocations/ API call) but the equivalent call appears to be missing on the Purchase Ledger side. Since the functionality is all there in the software I would hope this would be reasonably straightforward for Sage to slip into a future API update.