XentrDeveloper Docs
API ReferenceProduction orders

Create a new production order

POST
/api/factories/{factoryId}/production-orders
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/production-orders" \  -H "Content-Type: application/json" \  -d '{    "productId": "a1b2c3d4-...",    "quantityTarget": 1000  }'
Empty