XentrDeveloper Docs
API ReferenceProduction orders

Adjust the target quantity on an active order (audited; requires a reason, cascades to sub-orders, warns on material shortfall / below-produced)

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

In: header

Path Parameters

factoryId*string

Factory ID

id*string

Production Order 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/string/adjust-quantity" \  -H "Content-Type: application/json" \  -d '{    "quantityTarget": 1500,    "reason": "Customer added 500 units to the order"  }'
Empty
Empty
Empty
Empty
Empty