Skala
Stock commitments

Create a new stock commitment

Adds a new stock commitment record to the database.

POST
/api/stock_commitments

Adds a new stock commitment record to the database.

AuthorizationBearer <token>

In: header

Request Body

application/json

The new StockCommitment resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.skalasuite.com/api/stock_commitments" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": 0,
  "stockVariant": "/entity/1",
  "invoice": "/entity/1",
  "invoiceItem": "/entity/1",
  "isActive": true,
  "workOrder": "/entity/1",
  "amount": "string",
  "status": "string"
}
Empty
Empty