---
title: "InventoryActivatePayload"
description: "`inventoryActivate` 突变的输出类型"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/inventory/objects/inventory-activate-payload'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/inventory/objects/inventory-activate-payload.md'
---
# InventoryActivatePayload

`inventoryActivate` 突变的输出类型

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

## Type Signature

`InventoryActivatePayload`

## Fields

* `inventoryLevel`

  [InventoryLevel](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/inventory/objects/inventory-level.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 InventoryActivatePayload { 
	inventoryLevel: InventoryLevel
	userErrors: [UserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/inventory/mutations/inventory-activate.md).inventoryActivate

  在某个地点激活库存项目。

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

