katana_public_api_client.api.stocktake_row.update_stocktake_row¶
katana_public_api_client.api.stocktake_row.update_stocktake_row
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update a stocktake row
Updates the specified stocktake row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateStocktakeRowRequest) –Request payload for updating an existing stocktake row Example: {'actual_quantity': 148.0, 'variance_quantity': -2.0, 'notes': 'Recount confirmed minor variance'}.
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 | StocktakeRow | None–Union[DetailedErrorResponse, ErrorResponse, StocktakeRow]
Source code in katana_public_api_client/api/stocktake_row/update_stocktake_row.py
asyncio_detailed(id, *, client, body)
async
¶
Update a stocktake row
Updates the specified stocktake row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateStocktakeRowRequest) –Request payload for updating an existing stocktake row Example: {'actual_quantity': 148.0, 'variance_quantity': -2.0, 'notes': 'Recount confirmed minor variance'}.
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 | StocktakeRow]–Response[Union[DetailedErrorResponse, ErrorResponse, StocktakeRow]]
Source code in katana_public_api_client/api/stocktake_row/update_stocktake_row.py
sync(id, *, client, body)
¶
Update a stocktake row
Updates the specified stocktake row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateStocktakeRowRequest) –Request payload for updating an existing stocktake row Example: {'actual_quantity': 148.0, 'variance_quantity': -2.0, 'notes': 'Recount confirmed minor variance'}.
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 | StocktakeRow | None–Union[DetailedErrorResponse, ErrorResponse, StocktakeRow]
Source code in katana_public_api_client/api/stocktake_row/update_stocktake_row.py
sync_detailed(id, *, client, body)
¶
Update a stocktake row
Updates the specified stocktake row by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateStocktakeRowRequest) –Request payload for updating an existing stocktake row Example: {'actual_quantity': 148.0, 'variance_quantity': -2.0, 'notes': 'Recount confirmed minor variance'}.
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 | StocktakeRow]–Response[Union[DetailedErrorResponse, ErrorResponse, StocktakeRow]]