---
title: "CollectionUpdatePayload"
description: "The return type of the collectionUpdate mutation."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection-update-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection-update-payload.md'
---
# CollectionUpdatePayload

The return type of the collectionUpdate mutation.

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

## Type Signature

`CollectionUpdatePayload`

## Fields

* `collection`

  [Collection](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection.md)

  The updated collection.	The collection that has been updated.

* `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 CollectionUpdatePayload { 
	collection: Collection
	userErrors: [UserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/mutations/collection-update.md).collectionUpdate

  更新分类

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

