--- title: productPublish - GraphQL Admin description: "Publishes a product. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can only be published on online stores." api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/productpublish md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/productpublish.md --- # product​Publish mutation Requires `write_publications` access scope. Also: The user must have a permission to publish a product. Deprecated. Use [publishablePublish](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish) instead. Publishes a product. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can only be published on online stores. ## Arguments * input [Product​Publish​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductPublishInput) required Specifies the product to publish and the channels to publish it to. *** ## Product​Publish​Payload returns * product [Product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) The product that has been published. * shop [Shop!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop) non-null The user's shop. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/UserError) non-null The list of errors that occurred from executing the mutation. * product​Publications [\[Product​Publication!\]](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductPublication) Deprecated The channels where the product is published. *** ## Examples * ### productPublish reference ## Mutation Reference ```graphql mutation productPublish($input: ProductPublishInput!) { productPublish(input: $input) { product { # Product fields } shop { # Shop fields } userErrors { field message } } } ``` ## Input ```json { "input": { "id": "gid://shopify//10079785100", "productPublications": [ { "publicationId": "gid://shopify//10079785100", "publishDate": "2019-09-07T15:50:00Z" } ] } } ``` ##### Variables ``` { "input": { "id": "gid://shopify//10079785100", "productPublications": [ { "publicationId": "gid://shopify//10079785100", "publishDate": "2019-09-07T15:50:00Z" } ] } } ``` ##### Schema ``` input ProductPublishInput { id: ID! productPublications: [ProductPublicationInput!]! } input ProductPublicationInput { publicationId: ID publishDate: DateTime } ```