Customer Groups

  • List customer groups

  • Create customer group

  • Delete customer group

  • Retrieve customer group

  • Update customer group

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

<- Customer Groups API

Customer Groups API

All versions ->

List customer groups

GET

 /v2/customers/groups

Retrieves the list of customer groups of a business.

Permissions:CUSTOMERS_READ

Guide

List customer groups

Try in API Explorer
Link to section

Query parameters

Example code

Link to section

cursor

string

A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for your original query.

For more information, see Pagination.

Link to section

limit

integer(32-bit)

The maximum number of results to return in a single page. This limit is advisory. The response might contain more or fewer results. If the limit is less than 1 or greater than 50, Square returns a 400 VALUE_TOO_LOW or 400 VALUE_TOO_HIGH error. The default value is 50.

For more information, see Pagination.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

groups

A list of customer groups belonging to the current seller.

Link to section

cursor

string

A pagination cursor to retrieve the next set of results for your original query to the endpoint. This value is present only if the request succeeded and additional results are available.

For more information, see Pagination.

Link to section

Examples

All versions ->

GET /v2/customers/groups
curl https://connect.squareup.com/v2/customers/groups \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "groups": [ { "id": "2TAT3CMH4Q0A9M87XJZED0WMR3", "name": "Loyal Customers", "created_at": "2020-04-13T21:54:57.863Z", "updated_at": "2020-04-13T21:54:58Z" }, { "id": "4XMEHESXJBNE9S9JAKZD2FGB14", "name": "Super Loyal Customers", "created_at": "2020-04-13T21:55:18.795Z", "updated_at": "2020-04-13T21:55:19Z" } ] }