katana_public_api_client.api.manufacturing_order.update_manufacturing_order¶
katana_public_api_client.api.manufacturing_order.update_manufacturing_order
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update a manufacturing order
Updates the specified manufacturing order by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateManufacturingOrderRequest) –Request payload for updating an existing manufacturing order's properties and production parameters. Example: {'planned_quantity': 75, 'additional_info': 'Increased quantity due to additional customer demand', 'production_deadline_date': '2024-01-30T17:00:00Z'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
DetailedErrorResponse | ErrorResponse | ManufacturingOrder | None–Union[DetailedErrorResponse, ErrorResponse, ManufacturingOrder]
Source code in katana_public_api_client/api/manufacturing_order/update_manufacturing_order.py
asyncio_detailed(id, *, client, body)
async
¶
Update a manufacturing order
Updates the specified manufacturing order by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateManufacturingOrderRequest) –Request payload for updating an existing manufacturing order's properties and production parameters. Example: {'planned_quantity': 75, 'additional_info': 'Increased quantity due to additional customer demand', 'production_deadline_date': '2024-01-30T17:00:00Z'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[DetailedErrorResponse | ErrorResponse | ManufacturingOrder]–Response[Union[DetailedErrorResponse, ErrorResponse, ManufacturingOrder]]
Source code in katana_public_api_client/api/manufacturing_order/update_manufacturing_order.py
sync(id, *, client, body)
¶
Update a manufacturing order
Updates the specified manufacturing order by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateManufacturingOrderRequest) –Request payload for updating an existing manufacturing order's properties and production parameters. Example: {'planned_quantity': 75, 'additional_info': 'Increased quantity due to additional customer demand', 'production_deadline_date': '2024-01-30T17:00:00Z'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
DetailedErrorResponse | ErrorResponse | ManufacturingOrder | None–Union[DetailedErrorResponse, ErrorResponse, ManufacturingOrder]
Source code in katana_public_api_client/api/manufacturing_order/update_manufacturing_order.py
sync_detailed(id, *, client, body)
¶
Update a manufacturing order
Updates the specified manufacturing order by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateManufacturingOrderRequest) –Request payload for updating an existing manufacturing order's properties and production parameters. Example: {'planned_quantity': 75, 'additional_info': 'Increased quantity due to additional customer demand', 'production_deadline_date': '2024-01-30T17:00:00Z'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[DetailedErrorResponse | ErrorResponse | ManufacturingOrder]–Response[Union[DetailedErrorResponse, ErrorResponse, ManufacturingOrder]]