XentrDeveloper Docs
API ReferenceUnits of measure

Create a unit of measure

POST
/api/factories/{factoryId}/units-of-measure
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

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/units-of-measure" \  -H "Content-Type: application/json" \  -d '{    "code": "kg",    "name": "Kilograms",    "symbol": "kg"  }'
Empty