Measure across the front at the floor, halfway up and near the top. Repeat toward the back where the shelf unit will actually stand.
Measure depth on both sides and note trim, outlets or a switch that must remain reachable. Write each measurement on a small sketch.
Give the maker the smallest clear measurements and ask what clearance is needed for installation and removal.