katana_public_api_client.api.bin_transfer.update_bin_transfer_status¶
katana_public_api_client.api.bin_transfer.update_bin_transfer_status
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update bin transfer status
Updates the status of a bin transfer.
Parameters:
-
id(int) – -
body(UpdateBinTransferStatusRequest) –Request payload for changing a bin transfer's status. Example: {'status': 'IN_TRANSIT'}.
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:
-
BinTransfer | DetailedErrorResponse | ErrorResponse | None–BinTransfer | DetailedErrorResponse | ErrorResponse
Source code in katana_public_api_client/api/bin_transfer/update_bin_transfer_status.py
asyncio_detailed(id, *, client, body)
async
¶
Update bin transfer status
Updates the status of a bin transfer.
Parameters:
-
id(int) – -
body(UpdateBinTransferStatusRequest) –Request payload for changing a bin transfer's status. Example: {'status': 'IN_TRANSIT'}.
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[BinTransfer | DetailedErrorResponse | ErrorResponse]–Response[BinTransfer | DetailedErrorResponse | ErrorResponse]
Source code in katana_public_api_client/api/bin_transfer/update_bin_transfer_status.py
sync(id, *, client, body)
¶
Update bin transfer status
Updates the status of a bin transfer.
Parameters:
-
id(int) – -
body(UpdateBinTransferStatusRequest) –Request payload for changing a bin transfer's status. Example: {'status': 'IN_TRANSIT'}.
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:
-
BinTransfer | DetailedErrorResponse | ErrorResponse | None–BinTransfer | DetailedErrorResponse | ErrorResponse
Source code in katana_public_api_client/api/bin_transfer/update_bin_transfer_status.py
sync_detailed(id, *, client, body)
¶
Update bin transfer status
Updates the status of a bin transfer.
Parameters:
-
id(int) – -
body(UpdateBinTransferStatusRequest) –Request payload for changing a bin transfer's status. Example: {'status': 'IN_TRANSIT'}.
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[BinTransfer | DetailedErrorResponse | ErrorResponse]–Response[BinTransfer | DetailedErrorResponse | ErrorResponse]