---
title: "SegmentUpdatePayload"
description: "Update segment information response entity"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-update-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-update-payload.md'
---
# SegmentUpdatePayload

Update segment information response entity

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

## Type Signature

`SegmentUpdatePayload`

## Fields

* `segment`

  [Segment](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment.md)

  The updated segment.

* `userErrors`

  [[BusinessCustomerUserError]](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/business-customer-user-error.md)

  Error message

## Schema Definition

```graphql
type SegmentUpdatePayload { 
	segment: Segment
	userErrors: [BusinessCustomerUserError] 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/customers/mutations/segment-update.md).segmentUpdate

  更新分组信息

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

