Anchor to Publishable
Publishable
interface
Represents a resource that can be published to a channel. A publishable resource can be either a Product or Collection.
Anchor to Fields and connectionsFields and connections
- Anchor to availablePublicationsCountavailable•
Publications Count The number of publications that a resource is published to, without feedback errors.
- Anchor to publishedOnCurrentPublicationpublished•
On Current Publication Boolean!non-null Whether the resource is published to the app's publication. For example, the resource might be published to the app's online store channel.
- Anchor to publishedOnPublicationpublished•
On Publication Boolean!non-null Whether the resource is published to a specified publication.
- Anchor to resourcePublicationsresource•
Publications ResourcePublication non-nullConnection! The list of resources that are published to a publication.
- Anchor to resourcePublicationsCountresource•
Publications Count The number of publications that a resource is published to, without feedback errors.
- Anchor to resourcePublicationsV2resource•
Publications V2 ResourcePublication non-nullV2Connection! The list of resources that are either published or staged to be published to a publication.
- Anchor to unpublishedPublicationsunpublished•
Publications PublicationConnection! non-null The list of publications that the resource isn't published to.
Was this section helpful?
1{2 "availablePublicationsCount": "",3 "publicationCount": {4 "onlyPublished": ""5 },6 "publishedOnChannel": {7 "channelId": ""8 },9 "publishedOnCurrentChannel": "",10 "publishedOnCurrentPublication": "",11 "publishedOnPublication": {12 "publicationId": ""13 },14 "resourcePublications": {15 "onlyPublished": "",16 "first": "",17 "after": "",18 "last": "",19 "before": "",20 "reverse": ""21 },22 "resourcePublicationsCount": {23 "onlyPublished": ""24 },25 "resourcePublicationsV2": {26 "onlyPublished": "",27 "catalogType": "",28 "first": "",29 "after": "",30 "last": "",31 "before": "",32 "reverse": ""33 },34 "unpublishedChannels": {35 "first": "",36 "after": "",37 "last": "",38 "before": "",39 "reverse": ""40 },41 "unpublishedPublications": {42 "first": "",43 "after": "",44 "last": "",45 "before": "",46 "reverse": ""47 }48}
{
"availablePublicationsCount": "",
"publicationCount": {
"onlyPublished": ""
},
"publishedOnChannel": {
"channelId": ""
},
"publishedOnCurrentChannel": "",
"publishedOnCurrentPublication": "",
"publishedOnPublication": {
"publicationId": ""
},
"resourcePublications": {
"onlyPublished": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"resourcePublicationsCount": {
"onlyPublished": ""
},
"resourcePublicationsV2": {
"onlyPublished": "",
"catalogType": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"unpublishedChannels": {
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"unpublishedPublications": {
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
}
}
interface Publishable {
availablePublicationsCount: Count
publicationCount: Int!
publishedOnChannel: Boolean!
publishedOnCurrentChannel: Boolean!
publishedOnCurrentPublication: Boolean!
publishedOnPublication: Boolean!
resourcePublicationsCount: Count
}