katana_public_api_client.api.stock_transfer.update_stock_transfer¶
katana_public_api_client.api.stock_transfer.update_stock_transfer
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update a stock transfer
Updates a stock transfer.
Parameters:
-
id(int) – -
body(UpdateStockTransferBody) –
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 | StockTransfer | None–Union[DetailedErrorResponse, ErrorResponse, StockTransfer]
Source code in katana_public_api_client/api/stock_transfer/update_stock_transfer.py
asyncio_detailed(id, *, client, body)
async
¶
Update a stock transfer
Updates a stock transfer.
Parameters:
-
id(int) – -
body(UpdateStockTransferBody) –
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 | StockTransfer]–Response[Union[DetailedErrorResponse, ErrorResponse, StockTransfer]]
Source code in katana_public_api_client/api/stock_transfer/update_stock_transfer.py
sync(id, *, client, body)
¶
Update a stock transfer
Updates a stock transfer.
Parameters:
-
id(int) – -
body(UpdateStockTransferBody) –
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 | StockTransfer | None–Union[DetailedErrorResponse, ErrorResponse, StockTransfer]
Source code in katana_public_api_client/api/stock_transfer/update_stock_transfer.py
sync_detailed(id, *, client, body)
¶
Update a stock transfer
Updates a stock transfer.
Parameters:
-
id(int) – -
body(UpdateStockTransferBody) –
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 | StockTransfer]–Response[Union[DetailedErrorResponse, ErrorResponse, StockTransfer]]