Customers
Properties
idstringnullableThe Rutter generated unique ID of the customer.
platform_idstringnullableOptionalThe platform specific ID of the customer.
emailstringnullableThe email of the customer.
first_namestringnullableThe first name of the customer.
last_namestringnullableThe last name of the customer.
phonestringnullableThe phone number of the customer.
created_atstringnullableThe ISO 8601 timestamp that the customer was created.
updated_atstringnullableThe ISO 8601 timestamp that the customer was last updated.
platform_dataobjectOptionalThe raw platform data corresponding to the Rutter object.
List Customers
Request Parameters
access_tokenstringqueryRequiredThe access token of the connection.
cursorstringqueryOptionalUsed to paginate to the next batch of objects. Should be a copy of the next_cursor value from the previous response.
limitintegerqueryOptionalUsed to limit the number of returned objects. Defaults to 50.
emailstringqueryOptionalAn email to filter on.
phonestringqueryOptionalA phone number formatted using only numerics to filter on.
updated_at_maxintegerqueryOptionalUsed 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_minintegerqueryOptionalUsed to filter objects with a updated_at value greater than or equal to the supplied value. Should be a Unix time in milliseconds.
force_fetchenumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
1{
2 "customers": [
3 {
4 "id": "00000000-0000-0000-0000-000000000000",
5 "platform_id": "12345678",
6 "email": "eric@rutter.com",
7 "first_name": "Eric",
8 "last_name": "Yu",
9 "phone": "1234567890",
10 "orders": [
11 {
12 "id": "00000000-0000-0000-0000-000000000000"
13 }
14 ],
15 "created_at": "2023-01-02T02:34:56.000Z",
16 "updated_at": "2023-01-02T02:34:56.000Z",
17 "platform_data": {
18 "id": 123,
19 "data": "Varies by platform"
20 }
21 }
22 ],
23 "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU=",
24 "connection": {
25 "id": "00000000-0000-0000-0000-000000000000",
26 "orgId": "00000000-0000-0000-0000-000000000000",
27 "platform": "SHOPIFY"
28 }
29}
Fetch a Customer
Request Parameters
idstringpathRequiredThe Rutter generated unique ID of the object.
access_tokenstringqueryRequiredThe access token of the connection.
force_fetchenumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
1{
2 "customer": {
3 "id": "00000000-0000-0000-0000-000000000000",
4 "platform_id": "12345678",
5 "email": "eric@rutter.com",
6 "first_name": "Eric",
7 "last_name": "Yu",
8 "phone": "1234567890",
9 "orders": [
10 {
11 "id": "00000000-0000-0000-0000-000000000000"
12 }
13 ],
14 "created_at": "2023-01-02T02:34:56.000Z",
15 "updated_at": "2023-01-02T02:34:56.000Z",
16 "platform_data": {
17 "id": 123,
18 "data": "Varies by platform"
19 }
20 },
21 "connection": {
22 "id": "00000000-0000-0000-0000-000000000000",
23 "orgId": "00000000-0000-0000-0000-000000000000",
24 "platform": "SHOPIFY"
25 }
26}
Have questions?
Contact support for personalized guidance.