Added location_id to purchase creation