// Persist the updated purchaseOrder
persistentPurchaseOrder = purchaseOrderReadService.saveOrUpdate(persistentPurchaseOrder);
// Provide a representation to the client
Representation representation = new AdminPurchaseOrderRepresentation().get(persistentPurchaseOrder);
return ok(representation);
}