Defines the body parameters that can be included in a request to the CreateCustomerGroup endpoint.
Create Customer Group Request
Name | Type | Tags | Description |
---|---|---|---|
idempotency_key |
str |
Optional | The idempotency key for the request. For more information, see Idempotency. |
group |
Customer Group |
Required | Represents a group of customer profiles. Customer groups can be created, be modified, and have their membership defined using the Customers API or within the Customer Directory in the Square Seller Dashboard or Point of Sale. |
{
"group": {
"name": "Loyal Customers",
"id": "id8",
"created_at": "created_at4",
"updated_at": "updated_at6"
},
"idempotency_key": "idempotency_key0"
}