cURL
curl --request PUT \ --url https://staging.cutmake.ai/api/v1/production-lines/{production_line_id} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "workerCount": 1, "costPerMinuteVnd": 1, "capacityPerDay": 1, "shiftType": "regular", "isActive": true } '
{ "id": "<string>", "name": "<string>", "workerCount": 123, "costPerMinuteVnd": "<string>", "capacityPerDay": 123, "shiftType": "regular", "isActive": true, "effectiveCostPerMinute": "<string>", "description": "<string>" }
Replace production line metadata.
x >= 0
regular
overtime
weekend
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$