Skip to main content
← All developer updates
improvement

The GS1 Prefix Moves to Endless EDI Integration Settings

Check integrations that read or set the GS1 prefix on an integration. IntegrationDetails.companyGs1Prefix, IntegrationDetails.companyGs1PrefixId, and UpdateIntegrationInput.companyGs1PrefixId are removed. A query that selects the fields fails with an unknown-field error, and updateIntegration no longer accepts the argument.

The prefix is now the company_gs1_prefix_id setting on an Endless EDI integration. Read it with settingsByEntity and save it with settingsSaveEntity, using entityType: INTEGRATION. Set it to null to clear it. Saving an ID that is not an active registered prefix fails with “GS1 prefix not found”.

companyGs1Prefixes accepts a new id filter to look up one registered prefix.