curl --request GET \
--url 'https://api.stateset.com/api/v1/production-batches/{id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"created_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"status": "pending",
"work_order_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
Get a production batch
Get a production batch
GET
/
api
/
v1
/
production-batches
/
{id}
curl --request GET \
--url 'https://api.stateset.com/api/v1/production-batches/{id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"created_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"status": "pending",
"work_order_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
Path parameters
string
required
Production batch ID
Response
ProductionBatchResponse
string
required
string
required
string
required
string
required
string[]
required
Status codes
| Code | Meaning |
|---|---|
200 | — |
404 | — |
curl --request GET \
--url 'https://api.stateset.com/api/v1/production-batches/{id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"created_at": "2026-08-31T14:22:05Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"status": "pending",
"work_order_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
Last modified on August 31, 2026