---
title: Publication Id and channel Id validations - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/publication-id-and-channel-id-validations'
  md: 'https://shopify.dev/changelog/publication-id-and-channel-id-validations.md'
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-02-21T03:46:33-05:00'
  postedAt: '2023-01-04T00:00:00-05:00'
  updatedAt: '2024-12-13T17:24:36-05:00'
  effectiveAt: '2023-01-04T00:00:00-05:00'
---

January 4, 2023

Tags:

* API
* 2023-04

# Publication Id and channel Id validations

As of the 2023-04 version of the Admin GraphQL API, the `publicationId` and `channelId` fields of the `PublicationInput` will be validated on calls to `publishableUnpublish` and `productUnpublish` mutations.

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 `PublicationInput` object.

Learn more about [publishableUnpublish](https://shopify.dev/api/admin-graphql/2022-04/mutations/publishableUnpublish) and [productUnpublish](https://shopify.dev/api/admin-graphql/2022-04/mutations/productUnpublish) on [Shopify.dev](https://shopify.dev/).
