I’m not sure what version of Illustrator you are using, but it’s under Object->Path->Outline Stroke. That converts the path with a stroke into an outline with a fill.
I’m not sure what version of Illustrator you are using, but it’s under Object->Path->Outline Stroke. That converts the path with a stroke into an outline with a fill.