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
Create Customer
This endpoint creates a new customer
POST
/
v1
/
customers
Copy
Ask AI
curl --location --request POST 'https://api.stateset.com/v1/customer' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}'
Copy
Ask AI
{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}
Body
This is the id of the customer
This is the email of the customer
This is the first body of the customer
This is the last body 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
Response
This is the 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
Copy
Ask AI
curl --location --request POST 'https://api.stateset.com/v1/customer' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}'
Copy
Ask AI
{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}
Copy
Ask AI
curl --location --request POST 'https://api.stateset.com/v1/customer' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}'
Copy
Ask AI
{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}
Assistant
Responses are generated using AI and may contain mistakes.