Customers
Properties
id
stringnullableThe Rutter generated unique ID of the customer.
platform_id
stringnullableOptionalThe platform specific ID of the customer.
email
stringnullableThe email of the customer.
first_name
stringnullableThe first name of the customer.
last_name
stringnullableThe last name of the customer.
phone
stringnullableThe phone number of the customer.
created_at
stringnullableThe ISO 8601 timestamp that the customer was created.
updated_at
stringnullableThe ISO 8601 timestamp that the customer was last updated.
platform_data
objectOptionalThe raw platform data corresponding to the Rutter object.
List Customers
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.
email
stringqueryOptionalAn email to filter on.
phone
stringqueryOptionalA phone number formatted using only numerics to filter on.
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
- WooCommerce
- Amazon
- Stripe
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
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
- WooCommerce
- Amazon
- Squarespace
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.