---
title: "InventoryActivatePayload"
description: "Output type for the `inventoryActivate` mutation."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-activate-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-activate-payload.md'
---
# InventoryActivatePayload

Output type for the `inventoryActivate` mutation.

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

## Type Signature

`InventoryActivatePayload`

## Fields

* `inventoryLevel`

  [InventoryLevel](https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-level.md)

  The activated inventory level. 

* `userErrors`

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

  A list of the errors encountered during the mutation. 

## Schema Definition

```graphql
type InventoryActivatePayload { 
	inventoryLevel: InventoryLevel
	userErrors: [UserError!]! 
}
```

## Field from

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

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

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

