Skip to main content

PrefixDefinition

Definition of the item identifier prefix.

type PrefixDefinition {
globalUniqueId: String
correlationId: String
prefix: String
countryCode: String
prefixType: PrefixType!
description: String
dataStartPosition: Int
dataEndPosition: Int
validateCheckDigit: Boolean!
issuingCountryCode: String
modified: DateTime!
modifiedBy: String
}

Fields​

PrefixDefinition.globalUniqueId ● String scalar​

Internal unique identifier of the item identifier prefix. Follows the format {prefix} or {prefix}_{countryCode}.

PrefixDefinition.correlationId ● String scalar​

Unique identifier assigned to a specific request as it moves through a system.

PrefixDefinition.prefix ● String scalar​

The prefix to configure item identifiers for.

PrefixDefinition.countryCode ● String scalar​

Specifies the country or region whose local GS1 standards govern the data structure and encoding rules for this prefix. This is primarily used for Restricted Circulation Numbers (RCNs) where data fields — such as weight, price, coupon values, or loyalty points — are positioned and parsed according to specific national or territorial regulations rather than a single global standard.

PrefixDefinition.prefixType ● PrefixType! non-null enum​

The type of the prefix.

PrefixDefinition.description ● String scalar​

Optional description of the prefix.

PrefixDefinition.dataStartPosition ● Int scalar​

Start position (1-based index) of price or weight data in the barcode, if applicable.

PrefixDefinition.dataEndPosition ● Int scalar​

End position (1-based index) of price or weight data in the barcode, if applicable.

PrefixDefinition.validateCheckDigit ● Boolean! non-null scalar​

Flag indicating if check digit validation is enabled for this prefix.

PrefixDefinition.issuingCountryCode ● String scalar​

Specifies the GS1 Member Organization (MO) that allocated the prefix. This code identifies the country where the brand owner is registered for GS1 membership, though it does not necessarily represent the product's country of origin or manufacture.

PrefixDefinition.modified ● DateTime! non-null scalar​

Timestamp when the prefix definition was last modified.

PrefixDefinition.modifiedBy ● String scalar​

User who last modified the prefix definition.

Returned By​

prefixDefinition query

Member Of​

PrefixDefinitionsConnection object ● PrefixDefinitionsEdge object