Skip to main content
Account groups sort your accounts into sets, such as wholesale or retail customers. Here you list, create, read, update and delete them. This area has 5 endpoints, and every SDK supports all of them.

At a glance

Before you call

Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in an Authorization header: Authorization: Bearer $ACCESS_TOKEN.

Things to know

  • Each group’s id starts with ag_. List account groups returns each group’s id.
  • name is required to create a group. The new group comes back under account_group.
  • One group comes back under account_group; a listing comes back under data. A listing also carries pagination; pass pagination.next_cursor as cursor while has_more is true.
  • Only a group no account uses can be deleted.