Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Publication Id and channel Id validations
Effective January 04, 2023
As of the 2023-04 version of the Admin GraphQL API, the
channelId fields of the
PublicationInput will be validated on calls to
This allows you to ensure that ids sent into a mutation correspond to existing records in the database.
The validation message for the
publicationId field will change from "Channel can't be blank" to "Publication does not exist" on a
Learn more about publishableUnpublish and productUnpublish on Shopify.dev.