curl --request POST \
--url 'https://api.stateset.com/api/v1/production-batches' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"notes": null,
"work_order_ids": [
"string"
]
}'
{
"created_at": "string",
"id": "string",
"name": "string",
"status": "string",
"work_order_ids": [
"string"
]
}
Create a production batches
Create a production batches
POST
/
api
/
v1
/
production-batches
curl --request POST \
--url 'https://api.stateset.com/api/v1/production-batches' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"notes": null,
"work_order_ids": [
"string"
]
}'
{
"created_at": "string",
"id": "string",
"name": "string",
"status": "string",
"work_order_ids": [
"string"
]
}
Request body
CreateProductionBatchRequest
string
required
string,null
string[]
Responses
ProductionBatchResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/production-batches' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"notes": null,
"work_order_ids": [
"string"
]
}'
{
"created_at": "string",
"id": "string",
"name": "string",
"status": "string",
"work_order_ids": [
"string"
]
}
⌘I