A specialised structure within which eggs and developing embryos are retained and protected in some species. In myodocopids the marsupium is in the postero-dorsal region of the carapace.