katana_public_api_client.api.stock_transfer.create_stock_transfer¶
katana_public_api_client.api.stock_transfer.create_stock_transfer
¶
Classes¶
Functions¶
asyncio(*, client, body)
async
¶
Create a stock transfer
Creates a new stock transfer.
Parameters:
-
body(CreateStockTransferBody) –
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/create_stock_transfer.py
asyncio_detailed(*, client, body)
async
¶
Create a stock transfer
Creates a new stock transfer.
Parameters:
-
body(CreateStockTransferBody) –
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/create_stock_transfer.py
sync(*, client, body)
¶
Create a stock transfer
Creates a new stock transfer.
Parameters:
-
body(CreateStockTransferBody) –
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/create_stock_transfer.py
sync_detailed(*, client, body)
¶
Create a stock transfer
Creates a new stock transfer.
Parameters:
-
body(CreateStockTransferBody) –
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]]