katana_public_api_client.api.bom_row.update_bom_row¶
katana_public_api_client.api.bom_row.update_bom_row
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update a BOM row
Updates the specified BOM row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateBomRowRequest) –Request payload for updating an existing BOM row. Only provided fields will be updated. Example: {'quantity': 3.0, 'notes': 'Updated quantity based on new specifications'}.
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:
-
BomRow | DetailedErrorResponse | ErrorResponse | None–Union[BomRow, DetailedErrorResponse, ErrorResponse]
Source code in katana_public_api_client/api/bom_row/update_bom_row.py
asyncio_detailed(id, *, client, body)
async
¶
Update a BOM row
Updates the specified BOM row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateBomRowRequest) –Request payload for updating an existing BOM row. Only provided fields will be updated. Example: {'quantity': 3.0, 'notes': 'Updated quantity based on new specifications'}.
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[BomRow | DetailedErrorResponse | ErrorResponse]–Response[Union[BomRow, DetailedErrorResponse, ErrorResponse]]
Source code in katana_public_api_client/api/bom_row/update_bom_row.py
sync(id, *, client, body)
¶
Update a BOM row
Updates the specified BOM row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateBomRowRequest) –Request payload for updating an existing BOM row. Only provided fields will be updated. Example: {'quantity': 3.0, 'notes': 'Updated quantity based on new specifications'}.
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:
-
BomRow | DetailedErrorResponse | ErrorResponse | None–Union[BomRow, DetailedErrorResponse, ErrorResponse]
Source code in katana_public_api_client/api/bom_row/update_bom_row.py
sync_detailed(id, *, client, body)
¶
Update a BOM row
Updates the specified BOM row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateBomRowRequest) –Request payload for updating an existing BOM row. Only provided fields will be updated. Example: {'quantity': 3.0, 'notes': 'Updated quantity based on new specifications'}.
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[BomRow | DetailedErrorResponse | ErrorResponse]–Response[Union[BomRow, DetailedErrorResponse, ErrorResponse]]