Changing the Production Status

Maxim

Maxim

Last updated on Oct 8, 2026

Changes the production status. The status determines whether the materials, used products and resources are deducted and whether the produced products are added to stock.

v1/production/update_status.php

Parameters

Field Type Required Description
production_id int Yes Production run ID
status int Yes Status code from v1/production/get_statuses

Example request

{
    "production_id": 39978,
    "status": 2
}

Example response

{
    "success": true
}

Errors

Error Reason
No production_id in input A required field is missing (instead of production_id, the field's name)
Invalid status value. Must be one of: 0, 1, 2 The code is not in the company's status list. The allowed codes are listed in the error text
Production not found or access denied Production run not found or deleted