--- title: publicationCreate - GraphQL Admin description: Creates a publication. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/mutations/publicationcreate md: https://shopify.dev/docs/api/admin-graphql/unstable/mutations/publicationcreate.md --- # publication​Create mutation Requires `write_publications` access scope. Also: The user must have a permission to create and edit catalogs. Creates a publication. ## Arguments * input [Publication​Create​Input!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/PublicationCreateInput) required The input fields to use when creating the publication. *** ## Publication​Create​Payload returns * publication [Publication](https://shopify.dev/docs/api/admin-graphql/unstable/objects/Publication) The publication that's been created. * user​Errors [\[Publication​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/PublicationUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### publicationCreate reference ## Mutation Reference ```graphql mutation publicationCreate($input: PublicationCreateInput!) { publicationCreate(input: $input) { publication { # Publication fields } userErrors { field message } } } ``` ## Input ```json { "input": { "catalogId": "gid://shopify//10079785100", "defaultState": "EMPTY", "autoPublish": true } } ``` ##### Variables ``` { "input": { "catalogId": "gid://shopify//10079785100", "defaultState": "EMPTY", "autoPublish": true } } ``` ##### Schema ``` input PublicationCreateInput { catalogId: ID defaultState: PublicationCreateInputPublicationDefaultState autoPublish: Boolean } ```