Based on your domain model, the outermost object should be PurchaseOrder, not OrderItem; so make PurchaseOrder the outermost object. If you want to display all Palettes that belong to a specific PurchaseOrder and are assigned to a specific OrderItem, the structure should be:
PurchaseOrder, then nested OrderItem, then nested Palette.