Skip to main content

archiveCompanyGs1Prefix

Archives a GS1 company prefix. Registering the same digits later revives this record, so codes are never reissued.

Business Rules​

  • The prefix must exist within the current company.
  • No integration may still be assigned to it.

Error Scenarios​

  • **NOT_FOUND**: when the prefix does not exist.
  • **BAD_REQUEST**: when an integration still points at the prefix.

Permissions Required​

  • company:archive_gs1_prefix permission
archiveCompanyGs1Prefix(
input: ArchiveCompanyGs1PrefixInput!
): CompanyGs1Prefix

Arguments​

archiveCompanyGs1Prefix.input ● ArchiveCompanyGs1PrefixInput! non-null input common​

Parameters for ArchiveCompanyGs1Prefix

Type​

CompanyGs1Prefix object companies​

Company GS1 Prefix​

A GS1 prefix licensed to the company. Integrations assigned to it mint SSCC-18 codes from one shared serial counter, and its GTIN capacity defines the owned UPC block.