Customer Groups
The CustomerGroup Object
Properties
id
stringThe Rutter generated unique ID of the customer group.
platform_id
stringnullableOptionalThe platform specific ID of the customer group.
name
stringnullableThe name of the customer group.
created_at
stringThe ISO 8601 timestamp that the customer group was created.
updated_at
stringThe ISO 8601 timestamp that the customer group was last updated.
List Customer Groups
Request Parameters
access_token
stringqueryRequiredThe access token of the connection.
cursor
stringqueryOptionalUsed to paginate to the next batch of objects. Should be a copy of the next_cursor
value from the previous response.
limit
integerqueryOptionalUsed to limit the number of returned objects. Defaults to 50.
updated_at_max
integerqueryOptionalUsed to filter objects with a updated_at
value less than or equal to the supplied value. Should be a Unix time in milliseconds.
updated_at_min
integerqueryOptionalUsed to filter objects with a updated_at
value greater than or equal to the supplied value. Should be a Unix time in milliseconds.
force_fetch
enumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
- Shopify
1{
2 "customer_groups": [
3 {
4 "id": "00000000-0000-0000-0000-000000000000",
5 "platform_id": "12345678",
6 "name": "Customers who have purchased more than once",
7 "created_at": "2023-01-02T02:34:56.000Z",
8 "updated_at": "2023-01-02T02:34:56.000Z"
9 }
10 ],
11 "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU=",
12 "connection": {
13 "id": "00000000-0000-0000-0000-000000000000",
14 "orgId": "00000000-0000-0000-0000-000000000000",
15 "platform": "NETSUITE"
16 }
17}
Fetch a Customer Group
Request Parameters
id
stringpathRequiredThe Rutter generated unique ID of the object.
access_token
stringqueryRequiredThe access token of the connection.
force_fetch
enumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
- Shopify
1{
2 "customer_group": {
3 "id": "00000000-0000-0000-0000-000000000000",
4 "platform_id": "12345678",
5 "name": "Customers who have purchased more than once",
6 "created_at": "2023-01-02T02:34:56.000Z",
7 "updated_at": "2023-01-02T02:34:56.000Z"
8 },
9 "connection": {
10 "id": "00000000-0000-0000-0000-000000000000",
11 "orgId": "00000000-0000-0000-0000-000000000000",
12 "platform": "NETSUITE"
13 }
14}
Have questions?
Contact support for personalized guidance.