---
title: "PublishablePublishToCurrentChannelPayload"
description: "publishablePublishToCurrentChannel 操作的返回类型。"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/store-properties/objects/publishable-publish-to-current-channel-payload'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/store-properties/objects/publishable-publish-to-current-channel-payload.md'
---
# PublishablePublishToCurrentChannelPayload

publishablePublishToCurrentChannel 操作的返回类型。

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

## Type Signature

`PublishablePublishToCurrentChannelPayload`

## Fields

* `shop`

  [Shop!](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/store-properties/objects/shop.md)

  表示用户商店的对象。

* `userErrors`

  [[UserError!]!](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/common-objects/objects/user-error.md)

  执行过程中发生的错误列表。

## Schema Definition

```graphql
type PublishablePublishToCurrentChannelPayload { 
	shop: Shop!
	userErrors: [UserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/store-properties/mutations/publishable-publish-to-current-channel.md).publishablePublishToCurrentChannel

  将资源发布到当前渠道。如果资源是一个商品，那么只有当商品状态为活动时，它才在渠道中可见。仅以订阅方式销售的商品(requiresSellingPlan: true)只能在在线商店上发布。

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

