cURL
curl --request PATCH \ --url https://staging.cutmake.ai/api/v1/production-lines/{production_line_id}/toggle
{ "id": "<string>", "name": "<string>", "workerCount": 123, "costPerMinuteVnd": "<string>", "capacityPerDay": 123, "shiftType": "regular", "isActive": true, "effectiveCostPerMinute": "<string>", "description": "<string>" }
Flip the active flag on a production line.
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
regular
overtime
weekend