---
title: "ResourcePublicationV2"
description: >
  A resource publication represents information about the publication of a resource.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/apps/objects/resource-publication-v2'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/apps/objects/resource-publication-v2.md'
---
# ResourcePublicationV2

A resource publication represents information about the publication of a resource.

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

## Type Signature

`ResourcePublicationV2`

## Fields

* `isPublished`

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

  Whether the resource publication is published. If true, then the resource publication is published to the publication. If false, then the resource publication is staged to be published to the publication.

* `publication`

  [Publication!](https://developer.shopline.com/docs/admin-graph-ql-api/apps/objects/publication.md)

  The publication the resource publication is published to.

* `publicationId`

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

  ID of the publication.

* `publishDate`

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

  The date that the resource publication was or is going to be published to the publication.

## Schema Definition

```graphql
type ResourcePublicationV2 { 
	isPublished: Boolean!
	publication: Publication!
	publicationId: ID
	publishDate: Date 
}
```

## Field from

* [ResourcePublicationV2Edge](https://developer.shopline.com/docs/admin-graph-ql-api/apps/objects/resource-publication-v2-edge.md).node

  The item at the end of ResourcePublicationV2Edge.

* [ResourcePublicationV2Connection](https://developer.shopline.com/docs/admin-graph-ql-api/apps/objects/resource-publication-v2-connection.md).nodes

  A list of the nodes contained in ResourcePublicationV2Edge.

## 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).

