Skip to main content

prefixDefinition

Retrieves the prefix definition for a given prefix and optional country code.

**Returns:** The prefix definition matching the given prefix and country code, or null if not found.

prefixDefinition(
prefix: String!
countryCode: String
): PrefixDefinition

Arguments​

prefixDefinition.prefix ● String! non-null scalar​

The prefix for which the definition is to be retrieved.

prefixDefinition.countryCode ● String scalar​

The optional country code for which the prefix definition is relevant.

Type​

PrefixDefinition object​

Definition of the item identifier prefix.