---
title: "PublicationInput"
description: "Input fields required for publishing a resource."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/apps/inputs/publication-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/apps/inputs/publication-input.md'
---
# PublicationInput

Input fields required for publishing a resource.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Input

## Input Fields

* `publishDate`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  The date and time when the resource was published. If set to a future date, the resource will be scheduled for publication. Future publishing is only supported by online store channels. Including this field in the `publishableUnpublish` mutation will have no effect.

* `publicationId`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  Unique identifier of the Publication.

## Argument from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/store-properties/mutations/publishable-publish.md).publishablePublish

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

