Customers
List Customers
This endpoint list customers.
GET
/v1/customer/list
Bearer*
Body
limitrequired
string
This is the limit of the customers.
offsetrequired
string
This is the offset of the customers.
order_directionrequired
string
This is the order direction of the customers.
Response
sso_id
string
This is the sso_id of the customer
email
string
This is the email of the customer
firstName
string
This is the first name of the customer
lastName
string
This is the last name of the customer
phone
string
This is the phone number of the customer
stripe_customer_id
string
This is the stripe customer id of the customer
timestamp
string
This is the timestamp of the customer
activationDate
string
This is the activation date of the customer
curl --location --request GET 'https://api.stateset.com/v1/customers/list' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"sso_id": "1234-5678-9012-3456"
}'
{
"customers": {
"sso_id": "1234-5678-9012-3456",
"activationDate": "2020-01-01T00:00:00.000Z",
"email": "customer@customer.com",
"firstName": "Customer",
"lastName": "Customer",
"phone": "123-456-7890",
"stripe_customer_id": "cus_1234567890",
"timestamp": "2020-01-01T00:00:00.000Z"
}
}
curl --location --request GET 'https://api.stateset.com/v1/customers/list' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"sso_id": "1234-5678-9012-3456"
}'
{
"customers": {
"sso_id": "1234-5678-9012-3456",
"activationDate": "2020-01-01T00:00:00.000Z",
"email": "customer@customer.com",
"firstName": "Customer",
"lastName": "Customer",
"phone": "123-456-7890",
"stripe_customer_id": "cus_1234567890",
"timestamp": "2020-01-01T00:00:00.000Z"
}
}