curl --request POST \
--url 'https://api.stateset.com/api/v1/boms' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"components": null,
"description": null,
"name": "string",
"product_id": "string",
"revision": null
}'
{
"bom_number": "string",
"component_count": 1,
"created_at": "string",
"description": null,
"id": "string",
"name": "string",
"product_id": "string",
"revision": "string",
"status": "string"
}
Create a bom
Create a bom
POST
/
api
/
v1
/
boms
curl --request POST \
--url 'https://api.stateset.com/api/v1/boms' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"components": null,
"description": null,
"name": "string",
"product_id": "string",
"revision": null
}'
{
"bom_number": "string",
"component_count": 1,
"created_at": "string",
"description": null,
"id": "string",
"name": "string",
"product_id": "string",
"revision": "string",
"status": "string"
}
Request body
CreateBomRequest
array,null
string,null
string
required
string
required
string,null
Responses
BomResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/boms' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"components": null,
"description": null,
"name": "string",
"product_id": "string",
"revision": null
}'
{
"bom_number": "string",
"component_count": 1,
"created_at": "string",
"description": null,
"id": "string",
"name": "string",
"product_id": "string",
"revision": "string",
"status": "string"
}
⌘I