{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/square/main/json-schema/square-update-customer-group-request-schema.json", "title": "UpdateCustomerGroupRequest", "description": "Defines the body parameters that can be included in a request to the\n[UpdateCustomerGroup](api-endpoint:CustomerGroups-UpdateCustomerGroup) endpoint.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/square-customer-groups-api-openapi.yml#/components/schemas/UpdateCustomerGroupRequest", "type": "object", "x-release-status": "PUBLIC", "required": [ "group" ], "properties": { "group": { "$ref": "#/$defs/CustomerGroup", "description": "The `CustomerGroup` object including all the updates you want to make." } }, "$defs": { "CustomerGroup": { "type": "object", "description": "Represents a group of customer profiles. \n\nCustomer groups can be created, be modified, and have their membership defined using \nthe Customers API or within the Customer Directory in the Square Seller Dashboard or Point of Sale.", "x-release-status": "PUBLIC", "required": [ "name" ], "properties": { "id": { "type": "string", "description": "A unique Square-generated ID for the customer group.", "maxLength": 255, "readOnly": true }, "name": { "type": "string", "description": "The name of the customer group." }, "created_at": { "type": "string", "description": "The timestamp when the customer group was created, in RFC 3339 format.", "readOnly": true }, "updated_at": { "type": "string", "description": "The timestamp when the customer group was last updated, in RFC 3339 format.", "readOnly": true } } } } }