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.