curl --location --request GET 'https://api.stateset.com/v1/customers?limit=20&offset=0&order_direction=desc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
{
"customers": [
{
"sso_id": "1234-5678-9012-3456",
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+1-555-123-4567",
"stripe_customer_id": "cus_1234567890",
"activationDate": "2024-01-15T00:00:00.000Z",
"timestamp": "2024-06-01T12:30:00.000Z"
},
{
"sso_id": "9876-5432-1098-7654",
"email": "[email protected]",
"firstName": "John",
"lastName": "Smith",
"phone": "+1-555-987-6543",
"stripe_customer_id": "cus_0987654321",
"activationDate": "2024-02-20T00:00:00.000Z",
"timestamp": "2024-05-28T09:15:00.000Z"
}
],
"total_count": 142,
"has_more": true
}
Retrieve a paginated list of customers with optional filtering and sorting
curl --location --request GET 'https://api.stateset.com/v1/customers?limit=20&offset=0&order_direction=desc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
{
"customers": [
{
"sso_id": "1234-5678-9012-3456",
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+1-555-123-4567",
"stripe_customer_id": "cus_1234567890",
"activationDate": "2024-01-15T00:00:00.000Z",
"timestamp": "2024-06-01T12:30:00.000Z"
},
{
"sso_id": "9876-5432-1098-7654",
"email": "[email protected]",
"firstName": "John",
"lastName": "Smith",
"phone": "+1-555-987-6543",
"stripe_customer_id": "cus_0987654321",
"activationDate": "2024-02-20T00:00:00.000Z",
"timestamp": "2024-05-28T09:15:00.000Z"
}
],
"total_count": 142,
"has_more": true
}
5020asc, desc.[email protected]2024-01-01T00:00:00.000ZShow Customer Object
curl --location --request GET 'https://api.stateset.com/v1/customers?limit=20&offset=0&order_direction=desc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
{
"customers": [
{
"sso_id": "1234-5678-9012-3456",
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+1-555-123-4567",
"stripe_customer_id": "cus_1234567890",
"activationDate": "2024-01-15T00:00:00.000Z",
"timestamp": "2024-06-01T12:30:00.000Z"
},
{
"sso_id": "9876-5432-1098-7654",
"email": "[email protected]",
"firstName": "John",
"lastName": "Smith",
"phone": "+1-555-987-6543",
"stripe_customer_id": "cus_0987654321",
"activationDate": "2024-02-20T00:00:00.000Z",
"timestamp": "2024-05-28T09:15:00.000Z"
}
],
"total_count": 142,
"has_more": true
}