---
title: "InventoryItemUpdatePayload"
description: "Output type for the `inventoryItemUpdate` 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-item-update-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-item-update-payload.md'
---
# InventoryItemUpdatePayload

Output type for the `inventoryItemUpdate` mutation.

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

## Type Signature

`InventoryItemUpdatePayload`

## Fields

* `inventoryItem`

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

  The updated inventory item.

* `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 InventoryItemUpdatePayload { 
	inventoryItem: InventoryItem
	userErrors: [UserError]! 
}
```

## Field from

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

  更新库存对象

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

