Tags:
- API
- 2023-04
Publication Id and channel Id validations
As of the 2023-04 version of the Admin GraphQL API, the and fields of the will be validated on calls to and mutations.
This allows you to ensure that ids sent into a mutation correspond to existing records in the database.
The validation message for the field will change from "Channel can't be blank" to "Publication does not exist" on a object.
Learn more about publishableUnpublish and productUnpublish on Shopify.dev.
Was this section helpful?