Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.02 KB

create-customer-group-request.md

File metadata and controls

31 lines (22 loc) · 1.02 KB

Create Customer Group Request

Defines the body parameters that can be included in a request to the CreateCustomerGroup endpoint.

Structure

Create Customer Group Request

Fields

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.

Example (as JSON)

{
  "group": {
    "name": "Loyal Customers",
    "id": "id8",
    "created_at": "created_at4",
    "updated_at": "updated_at6"
  },
  "idempotency_key": "idempotency_key0"
}