curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/netsuite/sales-orders/search' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"query": {}
}'
{
"items": [
{}
],
"totalResults": 1,
"links": [
{}
],
"raw": {}
}
Search NetSuite sales orders
Matching NetSuite sales orders
POST
/
v1
/
tenants
/
{tenant_id}
/
netsuite
/
sales-orders
/
search
curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/netsuite/sales-orders/search' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"query": {}
}'
{
"items": [
{}
],
"totalResults": 1,
"links": [
{}
],
"raw": {}
}
Path parameters
string
required
Tenant identifier
Request body
object
object
Query parameters as key-value pairs
Response
object
object[]
required
List of matching sales orders
integer
Total number of results
object[]
Pagination links
object
required
Raw API response
Status codes
| Code | Meaning |
|---|---|
200 | Matching NetSuite sales orders |
401 | Unauthorized |
424 | NetSuite integration not configured |
502 | NetSuite API error |
curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/netsuite/sales-orders/search' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"query": {}
}'
{
"items": [
{}
],
"totalResults": 1,
"links": [
{}
],
"raw": {}
}
Last modified on August 31, 2026