fromReferences

Maps a legacy ID from references based on the market domain.

Selects an appropriate legacy ID from DiscoveryReferencesResponse using the market domain.

Return

The selected legacy ID, or null if none is available.

Parameters

currentMarket

The market domain to determine the ID selection.

references

The references containing legacy IDs.