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
Cases
List Cases
This endpoint list cases.
GET
/
v1
/
cases
/
list
curl --location --request GET 'https://api.stateset.com/v1/cases' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "asc"
}'
{
"data": {
"case": {
"id": "ca_1NXWPnCo6bFb1KQto6C8OWvE",
"caseName": "Case Name",
"description": "Case Description",
"caseNumber": "Case Number",
"caseStatus": "Case Status",
"priority": "Priority",
"submitter": "Submitter",
"resolver": "Resolver",
"createdDate": "2021-01-01T00:00:00.000Z"
}
}
}
Body
This is the limit of the cases.
This is the offset of the cases.
This is the order direction of the cases.
Response
This is the id of the case
This is the name of the case
This is the description of the case
This is the number of the case
This is the status of the case
This is the priority of the case
This is the submitter of the case
This is the resolver of the case
This is the date the case was created
This is the date the case was updated
curl --location --request GET 'https://api.stateset.com/v1/cases' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "asc"
}'
{
"data": {
"case": {
"id": "ca_1NXWPnCo6bFb1KQto6C8OWvE",
"caseName": "Case Name",
"description": "Case Description",
"caseNumber": "Case Number",
"caseStatus": "Case Status",
"priority": "Priority",
"submitter": "Submitter",
"resolver": "Resolver",
"createdDate": "2021-01-01T00:00:00.000Z"
}
}
}
curl --location --request GET 'https://api.stateset.com/v1/cases' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "asc"
}'
{
"data": {
"case": {
"id": "ca_1NXWPnCo6bFb1KQto6C8OWvE",
"caseName": "Case Name",
"description": "Case Description",
"caseNumber": "Case Number",
"caseStatus": "Case Status",
"priority": "Priority",
"submitter": "Submitter",
"resolver": "Resolver",
"createdDate": "2021-01-01T00:00:00.000Z"
}
}
}