StateSet One API Documentation
Orders
- GETList Orders
- GETRetrieve Order
- POSTAdd Item to Order
- POSTRemove Item from Order
- Add discount
- POSTRemove Discount
- POSTApply Promotion
- POSTRemove Promotion
- POSTCreate Order
- POSTCancel Order
- POSTHold Order
- POSTRelease Order
- POSTShip Order
- POSTReturn Order
- POSTRefund Order
- POSTExchange Order
- POSTSplit Order
- POSTMerge Order
- POSTTag Order
- POSTUpdate Order
Returns
Return Line Items
Warranty Line Items
Wholesale Orders
Inventory Items
Packing List
Packing List Items
Purchase Orders
Bill of Materials
Bill of Materials Line Item
Work Orders
Work Order Line Items
Cycle Counts
Manufacture Orders
Manufacture Order Line Items
Leads
Cases
Customers
List Customers
This endpoint list customers.
GET
/
v1
/
customer
/
list
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"
}
}
Body
This is the limit of the customers.
This is the offset of the customers.
This is the order direction of the customers.
Response
This is the sso_id of the customer
This is the email of the customer
This is the first name of the customer
This is the last name of the customer
This is the phone number of the customer
This is the stripe customer id of the customer
This is the timestamp of the customer
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"
}
}