Customer Groups

The CustomerGroup Object

Properties

idstringRequired

The Rutter generated unique ID of the customer group.

platform_idstringnullable

The platform specific ID of the customer group.

namestringnullableRequired

The name of the customer group.

created_atstringRequired

The ISO 8601 timestamp that the customer group was created.

updated_atstringRequired

The ISO 8601 timestamp that the customer group was last updated.

Endpoints
GET
/customer_groups
GET
/customer_groups/:id

List Customer Groups

GEThttps://production.rutterapi.com/versioned/customer_groups

Request Parameters

    access_tokenstringqueryRequired

    The access token of the connection.

    cursorstringquery

    The cursor to use for pagination. Use the value of next_cursor provided in a previous response.

    force_fetchenumquery

    Force a response even if the underlying connection hasn't finished the initial sync.

    One oftrue or false.
    limitintegerquery

    The number of entities to return. Defaults to 50. Maximum is 500.

    updated_at_maxintegerquery

    Unix Timestamp in milliseconds representing the maximum updated_at datetime to fetch entities from.

    updated_at_minintegerquery

    Unix Timestamp in milliseconds representing the minimum updated_at datetime to fetch entities from.

Response Body

    connectionobjectRequired
    Show connection attributes
    customer_groupsarrayRequired
    Show customer_groups attributes
    next_cursorstringnullableRequired
Support by integration
  • Shopify
    Shopify
Example Response Body
JSON
1
{
2
"connection": {
3
"id": "00000000-0000-0000-0000-000000000000",
4
"orgId": "00000000-0000-0000-0000-000000000000",
5
"platform": "NETSUITE"
6
},
7
"customer_groups": [
8
{
9
"id": "00000000-0000-0000-0000-000000000000",
10
"platform_id": "12345678",
11
"name": "Customers who have purchased more than once",
12
"created_at": "2023-01-02T02:34:56.000Z",
13
"updated_at": "2023-01-02T02:34:56.000Z"
14
}
15
],
16
"next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
17
}

Fetch a Customer Group

GEThttps://production.rutterapi.com/versioned/customer_groups/:id

Request Parameters

    idstringpathRequired

    The Rutter generated unique ID of the object.

    access_tokenstringqueryRequired

    The access token of the connection.

    force_fetchenumquery

    Force a response even if the underlying connection hasn't finished the initial sync.

    One oftrue or false.

Response Body

    connectionobjectRequired
    Show connection attributes
    customer_groupnullableRequired
    Show customer_group attributes
Support by integration
  • Shopify
    Shopify
Example Response Body
JSON
1
{
2
"connection": {
3
"id": "00000000-0000-0000-0000-000000000000",
4
"orgId": "00000000-0000-0000-0000-000000000000",
5
"platform": "NETSUITE"
6
},
7
"customer_group": {
8
"id": "00000000-0000-0000-0000-000000000000",
9
"platform_id": "12345678",
10
"name": "Customers who have purchased more than once",
11
"created_at": "2023-01-02T02:34:56.000Z",
12
"updated_at": "2023-01-02T02:34:56.000Z"
13
}
14
}

Have questions?

Contact support for personalized guidance.

Contact support