put
https://app.fracttal.com/api/material_requests/?
Through this API, you can update the note, comments, and status of a material request. To update the status of the request, the warehouse must be integrated. To select the material request to be modified, you must include a path parameter with the internal ID of the material request, which can be obtained using the “Material Requests Query” endpoint.
Input parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
note | Text | Yes | Note of the material request |
annotations | JSON | No | Annotations of the material request |
id_movement_state | Integer | No | States for the material request for an integrated warehouse |
Important note: To update the request status (
id_movement_stateparameter), the warehouse must be integrated.
Output parameters
The endpoint responds with the basic structure (See basic structure), where the data component contains null.
Example:
Request: (PUT)https://app.fracttal.com/api/material_requests/?id
{
"note":"API update test",
"annotations":{
"id_related":"111",
"code_related":111,
},
"id_movement_state": 9
}{
"success": true,
"message": "200",
"data": {
"id": 35011852,
"id_company": 188,
"id_movement_type": 16,
"id_warehouse_source": null,
"id_warehouse_target": 52464,
"date": "2025-10-17",
"description": "API update test",
"document": "1234",
"id_third_party": null,
"id_cost_center": null,
"id_responsible": 1376310,
"folio_source": null,
"folio_target": "1",
"id_movement_state": 9,
"id_priority": 4,
"date_create": "2025-10-16T09:45:32.904487+00:00",
"id_condition": null,
"id_currency": null,
"exchange_value": 1,
"id_work_orders_tasks": null,
"id_movement_reference": null,
"id_accounts_log": 168206,
"approved": null,
"approved_comment": null,
"is_input": null,
"id_currency_iso": 251,
"approval_date": null,
"show_transfer": null,
"annotations": {
"id_related": "111",
"code_related": 111
},
"id_groups_1": null,
"id_types_1": null,
"id_types_2": null
},
"total": 1
}Test It
